7ea3fa2d9f7dc14526fb72d5f946ab042b7dc4e8
[ci-management.git] / shell / pypi-publish.sh
1 #!/bin/bash
2 # Script to publush PyPI artifacts
3 set -e -x -o pipefail
4
5 virtualenv /tmp/v/twine
6 source "/tmp/v/twine/bin/activate"
7
8 pip install twine
9
10 cd "$WORKSPACE/$TOX_DIR"
11 twine upload -r $PYPI_SERVER dist/*