release/script: allow RC release tags
Change-Id: I635f4579e990b638c6579318dee632dce15e3cf1
This commit is contained in:
parent
9618959f1d
commit
6861f28bbf
@ -19,8 +19,8 @@ set -o pipefail
|
||||
|
||||
VERSION="${1-}"
|
||||
|
||||
if ! [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "usage: $0 vMAJOR.MINOR.PATCH"
|
||||
if ! [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc+(-.*)?)?+$ ]]; then
|
||||
echo "usage: $0 vMAJOR.MINOR.PATCH[-rc[-*]]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user