Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 changing permission of deploy-with-twine.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 7, 2019
1 parent c7ef010 commit dec2246
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis/deploy-with-twine.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#Install twine
pip install -U twine
echo "Installing twine"
python -m pip install twine

#Make dist
#Make wheels
echo "Making wheels"
make sdist
make bdist_wheel
if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi

#Upload to PyPi
echo "Upload to PyPi"
twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ dist/*
twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/*

0 comments on commit dec2246

Please sign in to comment.