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

pip install twine

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