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 vA.x development branch or the vA.B release branch.
81
+
# This includes pre-releases (e.g. alpha, beta, rc)
82
+
- 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.DEVELOPMENT_BRANCH }}, got ${{ github.ref_name }}' >> $GITHUB_STEP_SUMMARY
86
+
exit 1
87
+
75
88
#
76
89
# Preliminary checks done - commence the release process
77
90
#
78
91
92
+
# Create the new release branch if we're releasing from the vA.x
0 commit comments