We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89f6129 commit 6648027Copy full SHA for 6648027
.github/workflows/tag_release.yml
@@ -33,10 +33,11 @@ jobs:
33
;;
34
esac
35
BRANCH_BASE=$( echo $BRANCH | cut -d'/' -f3)
36
+ PREV_BRANCH=$( echo $BRANCH_BASE | sed 's|prod|stage|')
37
APP_PREFIX=$(echo "$BRANCH_BASE" | cut -d'-' -f2)
38
TAG="r-$APP_PREFIX.$DATE.$MINOR_VERSION"
39
git config --local user.email "[email protected]"
40
git config --local user.name "Cost Management Release Action"
- 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 -
42
git push origin $TAG
43
shell: bash
0 commit comments