summaryrefslogtreecommitdiffstats
path: root/shell/pypi-publish.sh
blob: 2510ed38bb79998c7adb538ad988ee79021894bb (plain)
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/*