Allow alpha/beta releases

pull/5264/head
Thomas Stromberg 2019-09-04 15:41:13 -07:00
parent a24356cc3b
commit d455ba36d7
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ fi
readonly version=$1
readonly tag="v${version}"
if [[ ! "${version}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ! "${version}" =~ ^[0-9]+\.[0-9]+\.[0-9a-z\.\-]+$ ]]; then
echo "supplied version does not match expectations: ${version}"
exit 2
fi