Adding pypi uploading to pipeline.
This commit is contained in:
parent
7fe48c297d
commit
8bd23dd08b
16
.drone.yml
16
.drone.yml
|
@ -9,8 +9,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- pip install wheel
|
- pip install wheel
|
||||||
- python setup.py bdist_wheel
|
- python setup.py bdist_wheel
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -21,5 +19,15 @@ steps:
|
||||||
files: dist/*.whl
|
files: dist/*.whl
|
||||||
checksum: md5
|
checksum: md5
|
||||||
draft: true
|
draft: true
|
||||||
when:
|
|
||||||
event: tag
|
- name: publish
|
||||||
|
image: plugins/pypi
|
||||||
|
settings:
|
||||||
|
username: syntaxerrormmm
|
||||||
|
password:
|
||||||
|
from_secret: pypi
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
- push
|
||||||
|
|
Loading…
Reference in New Issue