From 311152793b3e1ef2c9bc7d21c87a87466316ccd5 Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Sun, 6 Nov 2022 00:42:53 -0400 Subject: [PATCH] plugins/python is bugged so do the upload to pypi manually --- .drone.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index c08c8f7..1198922 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,10 +80,14 @@ trigger: - tag steps: -- name: publish pypi - image: plugins/pypi - settings: - username: + - name: publish pypi + image: python:10 + commands: + - pip install twine + - python setup.py sdist + - twine upload dist/* + environment: + TWINE_USERNAME: from_secret: pypi_username - password: + TWINE_PASSWORD: from_secret: pypi_username \ No newline at end of file