Skip to content

Commit

Permalink
Merge pull request #40 from khornberg/chore/more-resiliant-deploy
Browse files Browse the repository at this point in the history
Peripheral: Tag only if the tag doesn't exist
  • Loading branch information
khornberg authored Oct 4, 2018
2 parents d539b53 + ffdfa28 commit c5002aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ after_failure:
before_deploy:
- git config --local user.name "Kyle Hornberg"
- git config --local user.email "[email protected]"
- git tag $(python ./setup.py --version)
- if [ ! -f .git/refs/tags/$(python ./setup.py --version) ]; then git tag $(python ./setup.py --version); fi
- echo $(git tag -l)
- pip install twine
deploy:
Expand Down

0 comments on commit c5002aa

Please sign in to comment.