diff --git a/.circleci/config.yml b/.circleci/config.yml index e548aa1f..8725e443 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,13 +98,3 @@ jobs: - store_artifacts: path: /tmp/upload destination: / - - - run: - 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) || true; - else - echo "Only runs for master branch (this is ${CIRCLE_BRANCH})"; - fi; - when: on_success diff --git a/contrib/semver/version.sh b/contrib/semver/version.sh index 03b5da2c..964a3208 100644 --- a/contrib/semver/version.sh +++ b/contrib/semver/version.sh @@ -60,8 +60,4 @@ if [ $BRANCH != "master" ]; then if [ $BUILD != 0 ]; then printf -- "-%04d" "$BUILD" fi -else - if [ $BUILD != 0 ]; then - printf -- "-%d" "$(($BUILD+1))" - fi fi