1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Export the last modified revision for tags [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2019-08-30 11:23:06 +09:00
parent e593d5b31a
commit 98ccdd744a
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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