mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 08:20:28 +00:00
Versioning be damned
This commit is contained in:
parent
9a5f3a0abb
commit
b4a7dab34d
@ -98,13 +98,3 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/upload
|
path: /tmp/upload
|
||||||
destination: /
|
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
|
if [ $BUILD != 0 ]; then
|
||||||
printf -- "-%04d" "$BUILD"
|
printf -- "-%04d" "$BUILD"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
if [ $BUILD != 0 ]; then
|
|
||||||
printf -- "-%d" "$(($BUILD+1))"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user