summaryrefslogtreecommitdiff
path: root/tool/release.sh
diff options
context:
space:
mode:
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 4c1d7ccd592..ceafc8890ab 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