mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Try the tag without "v" prefix to checkout upstream repositories
This commit is contained in:
parent
2d1cf658ee
commit
456e1d1eaa
2 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
minitest 5.16.2 https://github.com/seattlerb/minitest
|
||||
power_assert 2.0.1 https://github.com/ruby/power_assert
|
||||
rake 13.0.6 https://github.com/ruby/rake
|
||||
test-unit 3.5.3 https://github.com/test-unit/test-unit 3.5.3
|
||||
test-unit 3.5.3 https://github.com/test-unit/test-unit
|
||||
rexml 3.2.5 https://github.com/ruby/rexml
|
||||
rss 0.2.9 https://github.com/ruby/rss 0.2.9
|
||||
rss 0.2.9 https://github.com/ruby/rss
|
||||
net-ftp 0.1.3 https://github.com/ruby/net-ftp
|
||||
net-imap 0.2.3 https://github.com/ruby/net-imap
|
||||
net-pop 0.1.1 https://github.com/ruby/net-pop
|
||||
|
|
|
@ -27,5 +27,5 @@ c = r || "v#{v}"
|
|||
checkout = %w"git -c advice.detachedHead=false checkout"
|
||||
puts "checking out #{c} (v=#{v}, r=#{r}) ..."
|
||||
unless system(*checkout, c, "--", chdir: n)
|
||||
abort
|
||||
abort if r or !system(*checkout, v, "--", chdir: n)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue