mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-22 16:07:31 +00:00
CircleCI: don't recreate tags that already exist
This commit is contained in:
parent
429d014d1c
commit
5684279403
@ -103,7 +103,7 @@ jobs:
|
|||||||
name: Create tags (master branch only)
|
name: Create tags (master branch only)
|
||||||
command: >
|
command: >
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
git tag -f -a $(sh contrib/semver/version.sh) -m "Created by CircleCI" && git push -f --tags;
|
git tag -a $(sh contrib/semver/version.sh) -m "Created by CircleCI" && git push --tags;
|
||||||
else
|
else
|
||||||
echo "Only runs for master branch (this is ${CIRCLE_BRANCH})";
|
echo "Only runs for master branch (this is ${CIRCLE_BRANCH})";
|
||||||
fi;
|
fi;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user