1
0
Fork 0
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:
Nobuyoshi Nakada 2022-07-26 19:42:48 +09:00
parent 2d1cf658ee
commit 456e1d1eaa
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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