Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 adding --skip-existing
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 8, 2019
1 parent 8d0a618 commit 44ee6a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis/deploy-with-twine.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#Install twine
# Install twine
echo "Installing twine"
python -m pip install twine

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

# Upload
echo "Upload to testPyPi"
twine upload -u pyskycoin -p "prerelease_0.X" --verbose --repository-url https://test.pypi.org/legacy/ dist/*
twine upload -u pyskycoin -p "prerelease_0.X" --verbose --repository-url https://test.pypi.org/legacy/ lib/skyapi/dist/*
#Upload to PyPi
twine upload -u pyskycoin -p "prerelease_0.X" --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
twine upload -u pyskycoin -p "prerelease_0.X" --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ lib/skyapi/dist/*
# 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 44ee6a3

Please sign in to comment.