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

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

View file

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