Skip to content

Commit 6648027

Browse files
committed
TEST1
1 parent 89f6129 commit 6648027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tag_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
;;
3434
esac
3535
BRANCH_BASE=$( echo $BRANCH | cut -d'/' -f3)
36+
PREV_BRANCH=$( echo $BRANCH_BASE | sed 's|prod|stage|')
3637
APP_PREFIX=$(echo "$BRANCH_BASE" | cut -d'-' -f2)
3738
TAG="r-$APP_PREFIX.$DATE.$MINOR_VERSION"
3839
git config --local user.email "[email protected]"
3940
git config --local user.name "Cost Management Release Action"
40-
git log $(git tag --list | tail -1)..$BRANCH_BASE | git tag -a $TAG -F -
41+
git log $(git tag --list | tail -1)..$PREV_BRANCH | git tag -a $TAG -F -
4142
git push origin $TAG
4243
shell: bash

0 commit comments

Comments
 (0)