Export the last modified revision for tags [ci skip]
This commit is contained in:
parent
e593d5b31a
commit
98ccdd744a
@ -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…
x
Reference in New Issue
Block a user