5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-22 22:15:46 +00:00

Versioning be damned

This commit is contained in:
Neil Alexander 2018-12-26 23:50:17 +00:00
parent 9a5f3a0abb
commit b4a7dab34d
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
2 changed files with 0 additions and 14 deletions

View File

@ -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

View File

@ -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