Vanessa Rene Valderrama | 295975d | 2018-02-27 15:10:17 -0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Script to publush PyPI artifacts | ||||
3 | set -e -x -o pipefail | ||||
4 | |||||
Jessica Wagantall | 75cf6df | 2018-04-26 15:31:08 -0700 | [diff] [blame] | 5 | virtualenv -p "$PYTHON_VERSION" /tmp/v/twine |
Vanessa Rene Valderrama | 295975d | 2018-02-27 15:10:17 -0800 | [diff] [blame] | 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/* |