modify release pipeline into two separated steps
This commit is contained in:
parent
2b12bee86e
commit
2878641dbe
@ -3,9 +3,15 @@ pipeline:
|
||||
image: python:latest
|
||||
when:
|
||||
event: tag
|
||||
secrets: [ twine_username, twine_password ]
|
||||
commands:
|
||||
- python --version
|
||||
- pip install -U build twine --quiet
|
||||
- pip install -U build --quiet
|
||||
- python -m build
|
||||
|
||||
upload:
|
||||
image: python:latest
|
||||
secrets: [ twine_username, twine_password ]
|
||||
commands:
|
||||
- ls -l
|
||||
- pip install -U twine --quiet
|
||||
- python -m twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
||||
|
Loading…
Reference in New Issue
Block a user