Skip to content

Commit

Permalink
Specify version on Travis deploy (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored Aug 29, 2019
1 parent 89d7efe commit 59d998a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ script:
- pytest

before_deploy:
# Set the version tag back to what was sent from the git release
# This changed locally due to local building of the code
- git tag --delete $(git tag --list)
- git tag $TRAVIS_TAG
# Set the version back to what was sent from the git release.
# This changed locally due to local building of the code.
- export SETUPTOOLS_SCM_PRETEND_VERSION=$TRAVIS_TAG
deploy:
- provider: pypi
skip_cleanup: true
Expand Down

0 comments on commit 59d998a

Please sign in to comment.