From 96d7e923ee82d84caee5ddba05b8a122bd236059 Mon Sep 17 00:00:00 2001 From: "Tim St. Clair" Date: Tue, 13 Sep 2016 12:06:28 -0700 Subject: [PATCH] Allow alpha/beta tagged releases --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index 3775c382..7c7ba7dc 100755 --- a/build/build.sh +++ b/build/build.sh @@ -32,7 +32,7 @@ GO_CMD="install" if [ "$RELEASE" == "true" ]; then # Only allow releases of tagged versions. - TAGGED='^v[0-9]+\.[0-9]+\.[0-9]+$' + TAGGED='^v[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta)[0-9]*)?$' if [[ ! "$version" =~ $TAGGED ]]; then echo "Only tagged versions are allowed for releases" >&2 echo "Found: $version" >&2