Merge pull request #5264 from kubernetes/beta

Allow alpha/beta releases to be tagged
pull/5272/head
Thomas Strömberg 2019-09-04 19:47:39 -07:00 committed by GitHub
commit 271ddb1595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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