You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo '❌ Release failed due to branch mismatch: expected ${{ inputs.version }} to be released from ${{ env.RELEASE_BRANCH }}, got ${{ github.ref_name }}' >> $GITHUB_STEP_SUMMARY
47
50
exit 1
48
51
52
+
# For non-patch releases (A.B.C where C == 0), we expect the release to
53
+
# be triggered from the A.x maintenance branch or A.x development branch
54
+
- name: "Fail if non-patch release is created from wrong release branch"
echo '❌ Release failed due to branch mismatch: expected ${{ inputs.version }} to be released from ${{ env.RELEASE_BRANCH }} or ${{ env.DEV_BRANCH }}, got ${{ github.ref_name }}' >> $GITHUB_STEP_SUMMARY
58
+
exit 1
59
+
60
+
# If a non-patch release is created from its A.x development branch,
61
+
# create the A.B maintenance branch from the current one and push it
62
+
- name: "Create and push new release branch for non-patch release"
0 commit comments