Fetch the unmerged revision to test of bundled gems

This commit is contained in:
Nobuyoshi Nakada 2022-01-01 19:18:03 +09:00
parent abc4a46046
commit d3940a533d
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ else
puts "retrieving #{n} ..." puts "retrieving #{n} ..."
system(*%W"git clone #{u} #{n}") or abort system(*%W"git clone #{u} #{n}") or abort
end end
if r
puts "fetching #{r} ..."
system("git", "fetch", "origin", r, chdir: n) or abort
end
c = r || "v#{v}" c = r || "v#{v}"
checkout = %w"git -c advice.detachedHead=false checkout" checkout = %w"git -c advice.detachedHead=false checkout"
puts "checking out #{c} (v=#{v}, r=#{r}) ..." puts "checking out #{c} (v=#{v}, r=#{r}) ..."