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 2ff17fa commit 3fd706cCopy full SHA for 3fd706c
.github/workflows/ci_cd_release.yml
@@ -51,7 +51,7 @@ jobs:
51
V_AND_MAJOR=${{ env.V_AND_MAJOR }}
52
MAJOR="${V_AND_MAJOR#v}"
53
echo "MAJOR=${MAJOR}" >> $GITHUB_ENV
54
- if [[ $GITHUB_REF != "refs/heads/release/$MAJOR.${{ env.MINOR }}" ]]; then
+ if [[ ${{ github.event.base_ref }} != "refs/heads/release/$MAJOR.${{ env.MINOR }}" ]]; then
55
echo "::error::Tag ${{ github.ref_name }} does not match branch version. wrong branch."
56
exit 1
57
fi
0 commit comments