Skip to content

Commit

Permalink
build/bump-release: allow annotated releases
Browse files Browse the repository at this point in the history
E.g. v0.1.0-rc0.

Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
  • Loading branch information
invidian committed Sep 27, 2021
1 parent 53e5b5e commit 5e5ddc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/bump-release
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if ! [[ "$0" =~ "build/bump-release" ]]; then
exit 255
fi

if ! [[ "$1" =~ ^v[[:digit:]]+.[[:digit:]]+.[[:digit:]]$ ]]; then
if ! [[ "$1" =~ ^v[[:digit:]]+.[[:digit:]]+.[[:digit:]] ]]; then
echo "Usage: build/bump-release <VERSION>"
echo " where VERSION must be vX.Y.Z"
exit 255
Expand Down

0 comments on commit 5e5ddc7

Please sign in to comment.