Peripheral: Tag only if the tag doesn't exist

This commit is contained in:
Kyle Hornberg
2018-10-04 14:26:22 -05:00
parent d539b5300e
commit ffdfa28738
+1 -1
View File
@@ -45,7 +45,7 @@ after_failure:
before_deploy:
- git config --local user.name "Kyle Hornberg"
- git config --local user.email "khornberg@users.noreply.github.com"
- 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: