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:
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue