17 lines
403 B
YAML
17 lines
403 B
YAML
pipeline:
|
|
deploy:
|
|
image: python:latest
|
|
when:
|
|
event: tag
|
|
branch: [main, master]
|
|
commands:
|
|
- python --version
|
|
- pip install -U virtualenv --quiet
|
|
- virtualenv venv
|
|
- source venv/bin/activate
|
|
- pip install -U twine --quiet
|
|
- twine upload --skip-existing --repository testpypi -u $TWINE_USERNAME -p $TWINE_PASSWORD dist/*
|
|
|
|
depends_on:
|
|
- build
|