Skip to content

Commit 5ec2173

Browse files
committed
build: handle version updates for milestone releases
1 parent cf871eb commit 5ec2173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/prepare_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if git rev-parse "$VERSION" >/dev/null 2>&1; then
2323
fi
2424

2525
next_version=""
26-
if [[ "$VERSION" =~ "alpha" ]] || [[ "$VERSION" =~ "beta" ]]; then
26+
if [[ "$VERSION" =~ "alpha" ]] || [[ "$VERSION" =~ "beta" ]]|| [[ "$VERSION" =~ "M" ]]; then
2727
next_version=$(echo "$VERSION" | sed 's/-.*//')
2828
fi
2929

0 commit comments

Comments
 (0)