mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-12 18:01:51 +00:00
Merge pull request #270 from neilalexander/circleci
Don't fail if tag exists
This commit is contained in:
commit
e65910806c
1 changed files with 1 additions and 1 deletions
|
@ -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 -a $(sh contrib/semver/version.sh) -m "Created by CircleCI" && git push --tags;
|
(git tag -a $(sh contrib/semver/version.sh) -m "Created by CircleCI" && git push --tags) || true;
|
||||||
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…
Reference in a new issue