We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73de0ff commit 36fd458Copy full SHA for 36fd458
1 file changed
script/release
@@ -102,8 +102,8 @@ main() {
102
exit 1
103
fi
104
105
- if [ "$(branch_name)" != "main" ]; then
106
- echo "Error: can only make a release on the main branch"
+ if [[ "$(branch_name)" != "main" && "$(branch_name)" != "3.x" ]]; then
+ echo "Error: can only make a release on the main or 3.x branch"
107
108
109
0 commit comments