blob: 2510ed38bb79998c7adb538ad988ee79021894bb [file] [log] [blame]
Vanessa Rene Valderrama295975d2018-02-27 15:10:17 -08001#!/bin/bash
2# Script to publush PyPI artifacts
3set -e -x -o pipefail
4
Jessica Wagantall75cf6df2018-04-26 15:31:08 -07005virtualenv -p "$PYTHON_VERSION" /tmp/v/twine
Vanessa Rene Valderrama295975d2018-02-27 15:10:17 -08006source "/tmp/v/twine/bin/activate"
7
8pip install twine
9
10cd "$WORKSPACE/$TOX_DIR"
11twine upload -r $PYPI_SERVER dist/*