1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2016-03-31 15:13:23 +00:00
parent 69eee71ce1
commit f0060b81c6

View file

@ -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