[前][次][番号順一覧][スレッド一覧]

ruby-changes:35288

From: nobu <ko1@a...>
Date: Wed, 3 Sep 2014 14:47:44 +0900 (JST)
Subject: [ruby-changes:35288] nobu:r47370 (trunk): * tool/make-snapshot (package): no teeny means a branch since 2.1.

nobu	2014-09-03 14:47:31 +0900 (Wed, 03 Sep 2014)

  New Revision: 47370

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47370

  Log:
    * tool/make-snapshot (package): no teeny means a branch since 2.1.

  Modified files:
    trunk/tool/make-snapshot
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 47369)
+++ tool/make-snapshot	(revision 47370)
@@ -140,8 +140,8 @@ def package(rev, destdir) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L140
     patchlevel = true
     tag = "p#{$4}"
     url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}"
-  when /\A(\d+)\.(\d+)\.(\d+)\z/
-    if $1 > "2" || $1 == "2" && $2 >= "1"
+  when /\A(\d+)\.(\d+)(?:\.(\d+))?\z/
+    if $3 && ($1 > "2" || $1 == "2" && $2 >= "1")
       patchlevel = true
       tag = ""
       url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]