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:
parent
9a5f3a0abb
commit
b4a7dab34d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user