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
|
end
|
||||||
if !revision and revision = vcs.get_revisions(url)
|
if !revision and revision = vcs.get_revisions(url)
|
||||||
url ||= vcs.branch(revision[3])
|
url ||= vcs.branch(revision[3])
|
||||||
revision = revision[0]
|
revision = revision[1]
|
||||||
end
|
end
|
||||||
version = nil
|
version = nil
|
||||||
unless revision
|
unless revision
|
||||||
|
@ -248,7 +248,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
||||||
warn "#{$0}: #{rev} not found"
|
warn "#{$0}: #{rev} not found"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
revision = vcs.get_revisions(url)[0]
|
revision = vcs.get_revisions(url)[1]
|
||||||
end
|
end
|
||||||
v = nil
|
v = nil
|
||||||
if $exported
|
if $exported
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue