* tool/make-snapshot: fix wrong regexp for releasing preview.

patched by mame.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-11-01 18:22:31 +00:00
Родитель 98c96a69c3
Коммит b2bbfb3e18
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Nov 1 23:06:01 2012 NARUSE, Yui <naruse@ruby-lang.org>
* tool/make-snapshot: fix wrong regexp for releasing preview.
patched by mame.
Thu Nov 1 22:27:11 2012 Koichi Sasada <ko1@atdot.net>
* NEWS: add a news about objspace,

Просмотреть файл

@ -100,10 +100,13 @@ def package(rev, destdir)
when /\Astable\z/
url = SVNURL + "branches/"
url = url + `svn ls #{url}`[/.*^(ruby_\d+_\d+)\//m, 1]
when /\A(.*)\.(.*)\.(.*)-((?!preview)p)?(.*)/
patchlevel = !!$4
when /\A(.*)\.(.*)\.(.*)-(preview|rc)(\d+)/
tag = "#{$4}#{$5}"
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$5}"
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}#{$5}"
when /\A(.*)\.(.*)\.(.*)-p(\d+)/
patchlevel = true
tag = "p#{$4}"
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}"
when /\./
url = SVNURL + "branches/ruby_#{rev.tr('.', '_')}"
else