Chore: Update CLM jobs to run only on master
[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 -p "$PYTHON" /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/*