From 98ccdd744ab46554e7f0e1d0a89f2ed24d365e53 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 30 Aug 2019 11:23:06 +0900 Subject: Export the last modified revision for tags [ci skip] --- tool/make-snapshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/make-snapshot') 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 -- cgit v1.2.3