1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash # Script to publush PyPI artifacts set -e -x -o pipefail virtualenv -p "$PYTHON_VERSION" /tmp/v/twine source "/tmp/v/twine/bin/activate" pip install twine cd "$WORKSPACE/$TOX_DIR" twine upload -r $PYPI_SERVER dist/*