mirror of
https://github.com/khornberg/octokit.py
synced 2026-05-22 15:03:52 +03:00
Peripheral: Tag only if the tag doesn't exist
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user