python/.woodpecker/release.yml
RealStickman 5ff0382165
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/linting Pipeline failed
Only on tag event
2022-09-12 19:37:43 +02:00

20 lines
461 B
YAML

pipeline:
build:
image: python:latest
when:
event: tag
commands:
- python --version
- pip install -U build --quiet
- python -m build
upload:
image: python:latest
when:
event: tag
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/*