Skip to content

Commit

Permalink
[skyapi] refs skycoin#131 setting upload dir to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
e1Ru1o committed Jul 13, 2019
1 parent ca44024 commit f8d3dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ deploy:
- provider: script
script: bash .travis/skyapi_deploy.sh
on:
branches:
only:
- /^release-.*$/
all_branches: true
tags: true
repo: skycoin/pyskycoin
condition: $TRAVIS_BRANCH =~ "^release-.*$"
# TODO: Upload manylinux wheels to PyPI
5 changes: 3 additions & 2 deletions .travis/skyapi_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
echo "Installing twine"
python -m pip install twine

echo "Upload to testPyPI"
twine upload -u pyskycoin -p "prerelease_0.X" --skip-existing --repository-url https://test.pypi.org/legacy/ lib/skyapi/dist/*
#Upload to PyPi
echo "Upload to PyPI"
twine upload -u $PYPI_USER -p $PYPI_PASSWD --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/*

0 comments on commit f8d3dcd

Please sign in to comment.