Skip to content

Commit b18ff6f

Browse files
committed
Merged in JDCMT-168-rewrite-tag-cration-for-release (pull request #44)
JDCMT-168 get tag from branch name Approved-by: Marek Parfianowicz Approved-by: Volodymyr Batrukh
2 parents 392553b + fb9530f commit b18ff6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitbucket-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ definitions:
8686
- step: &createTag
8787
name: Create tag
8888
script:
89-
- TAG_NAME=$(date +%Y.%m.%d)
89+
- TAG_NAME=$(echo "$BITBUCKET_BRANCH" | sed 's/release\///')
9090
- echo "Creating new tag ${TAG_NAME}"
9191
- git tag -am "Tag ${TAG_NAME}" $TAG_NAME
9292
- git push origin $TAG_NAME

0 commit comments

Comments
 (0)