summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-31 15:13:23 (GMT)
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-31 15:13:23 (GMT)
commitf0060b81c672e5f80ffed1b3a979d218b49e1021 (patch)
tree8d0f6fcbb18b303d5bb6fae4854e17ecba3cee05 /tool
parent69eee71ce19987c0119edaaac800c840a2cd70bc (diff)
* tool/release.sh: two-digit version number support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/release.sh b/tool/release.sh
index 4c1d7cc..ceafc88 100755
--- a/tool/release.sh
+++ b/tool/release.sh
@@ -3,7 +3,7 @@
RUBYDIR=/home/ftp/pub/ruby
EXTS='.tar.gz .tar.bz2 .tar.xz .zip'
-releases=`ls ruby-*|grep -o 'ruby-[0-9]\.[0-9]\.[0-9]\(-\(preview\|rc\|p\)[0-9]\{1,4\}\)\?'|uniq`
+releases=`ls ruby-*|grep -o 'ruby-[0-9]\{1,2\}\.[0-9]\{1,2\}\.[0-9]\{1,2\}\(-\(preview\|rc\|p\)[0-9]\{1,4\}\)\?'|uniq`
# check files
for r in $releases