We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e151ba commit 5cec8edCopy full SHA for 5cec8ed
1 file changed
git-bit-autotag
@@ -0,0 +1,8 @@
1
+#!/bin/bash -e
2
+
3
+TARGET_PREFIX=${1:-release}
4
+TARGET_BASE=$TARGET_PREFIX-`date +%Y%m%d`
5
+TARGET_BRANCH=$TARGET_BASE-$BITBUCKET_BUILD_NUMBER
6
+git tag $TARGET_BRANCH
7
+git push origin $TARGET_BRANCH
8
+echo "tagging complete under tag $TARGET_BRANCH"
0 commit comments