From 8bd23dd08b16cae3541b262a372e560820f29773 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Fri, 1 Dec 2023 22:44:42 +0100 Subject: [PATCH] Adding pypi uploading to pipeline. --- .drone.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 32b13f2..acc2ec7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,6 @@ steps: commands: - pip install wheel - python setup.py bdist_wheel - when: - event: tag - name: release image: plugins/gitea-release @@ -21,5 +19,15 @@ steps: files: dist/*.whl checksum: md5 draft: true - when: - event: tag + + - name: publish + image: plugins/pypi + settings: + username: syntaxerrormmm + password: + from_secret: pypi + +trigger: + event: + - tag + - push