From 3283de17d5c6235e223033e5edd09d150044f688 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 19 Dec 2018 00:15:12 +0000 Subject: [PATCH] Don't fail if tag exists --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 907aa8b..e548aa1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,7 +103,7 @@ jobs: name: Create tags (master branch only) command: > 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 echo "Only runs for master branch (this is ${CIRCLE_BRANCH})"; fi;