diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-30 11:23:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-30 11:23:21 +0900 |
commit | 98ccdd744ab46554e7f0e1d0a89f2ed24d365e53 (patch) | |
tree | 9a3942cb396e106fe4080449c684320b58f6b97c | |
parent | e593d5b31a13c59f9af07a2a6012c09bae7477d1 (diff) | |
download | ruby-98ccdd744ab46554e7f0e1d0a89f2ed24d365e53.tar.gz |
Export the last modified revision for tags [ci skip]
-rwxr-xr-x | tool/make-snapshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 8ce14214ba..29d6bc0388 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -238,7 +238,7 @@ def package(vcs, rev, destdir, tmp = nil) 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) warn "#{$0}: #{rev} not found" return end - revision = vcs.get_revisions(url)[0] + revision = vcs.get_revisions(url)[1] end v = nil if $exported |