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

update-bundled_gems: drop branch name on github [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2019-12-25 11:17:24 +09:00
parent 00710d1076
commit eb3f19b9b8
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -1300,7 +1300,9 @@ update-bundled_gems: PHONY
-e 's.platform=="ruby"&&s.name==$$F[0]' \
-e '}' \
-e 'gem = src.fetch_spec(gem)' \
-e '$$_ = [gem.name, gem.version, gem.metadata["source_code_uri"]||gem.homepage].join(" ")' \
-e 'uri = gem.metadata["source_code_uri"]||gem.homepage' \
-e 'uri = uri.sub(%r[\Ahttps://github\.com/[^/]+/[^/]+\K/tree/.*], "")' \
-e '$$_ = [gem.name, gem.version, uri].join(" ")' \
"$(srcdir)/gems/bundled_gems" | \
"$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" -