summaryrefslogtreecommitdiffstats
path: root/shell/pypi-publish.sh
blob: e097b1687940c1bfa19f054c983eb6de1e1e9062 (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" /tmp/v/twine
source "/tmp/v/twine/bin/activate"

pip install twine

cd "$WORKSPACE/$TOX_DIR"
twine upload -r $PYPI_SERVER dist/*