Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
ci-management
/
4db76e3ba649af1f69858f62531b71708c4d7f34
/
.
/
shell
/
pypi-publish.sh
blob: 2510ed38bb79998c7adb538ad988ee79021894bb [
file
] [
log
] [
blame
]
#!/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
/*