Adding pypi uploading to pipeline.

This commit is contained in:
emiliano.vavassori 2023-12-01 22:44:42 +01:00
parent 7fe48c297d
commit 8bd23dd08b
1 changed files with 12 additions and 4 deletions

View File

@ -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