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
73
77
exit 1
74
78
79
+
# For non-patch releases (A.B.C where C == 0), we expect the release to
80
+
# be triggered from the A.B maintenance branch or A.x development branch
81
+
- 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
85
+
exit 1
86
+
87
+
# If a non-patch release is created from its A.x development branch,
88
+
# create the A.B maintenance branch from the current one and push it
89
+
- name: "Create and push new release branch for non-patch release"
0 commit comments