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:
parent
e593d5b31a
commit
98ccdd744a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue