ruby-changes:57396
From: Nobuyoshi <ko1@a...>
Date: Fri, 30 Aug 2019 11:33:58 +0900 (JST)
Subject: [ruby-changes:57396] Nobuyoshi Nakada: 98ccdd744a (master): Export the last modified revision for tags [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=98ccdd744a From 98ccdd744ab46554e7f0e1d0a89f2ed24d365e53 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 30 Aug 2019 11:23:06 +0900 Subject: Export the last modified revision for tags [ci skip] diff --git a/tool/make-snapshot b/tool/make-snapshot index 8ce1421..29d6bc0 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -238,7 +238,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L238 end if !revision and revision = vcs.get_revisions(url) url ||= vcs.branch(revision[3]) - revision = revision[0] + revision = revision[1] end version = nil unless revision @@ -248,7 +248,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L248 warn "#{$0}: #{rev} not found" return end - revision = vcs.get_revisions(url)[0] + revision = vcs.get_revisions(url)[1] end v = nil if $exported -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/