summaryrefslogtreecommitdiff
path: root/tool/release.sh
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2019-12-25 18:02:53 +0900
committerNARUSE, Yui <naruse@airemix.jp>2019-12-25 18:02:53 +0900
commit1002de58ec48afecfde83b542cb934e7c8df0cf0 (patch)
treecf31cf50c3e52b0f3a56b35dc6e66dfac813c7b2 /tool/release.sh
parenta1018b2c5fef48b0cf52d7644578cb775339bd5b (diff)
fix version regexp
Diffstat (limited to 'tool/release.sh')
-rwxr-xr-xtool/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/release.sh b/tool/release.sh
index a8a94af..0988dc2 100755
--- a/tool/release.sh
+++ b/tool/release.sh
@@ -4,7 +4,7 @@
EXTS='.tar.gz .tar.bz2 .tar.xz .zip'
ver=$1
-if [[ $ver =~ ^([1-9]\.[0-9])\.([1-9]|[1-9][0-9]|0-(preview[1-9]|rc[1-9]))?$ ]]; then
+if [[ $ver =~ ^([1-9]\.[0-9])\.([0-9]|[1-9][0-9]|0-(preview[1-9]|rc[1-9]))$ ]]; then
:
else
echo $ver is not valid release version