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:
parent
00710d1076
commit
eb3f19b9b8
1 changed files with 3 additions and 1 deletions
|
@ -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" -
|
||||
|
||||
|
|
Loading…
Reference in a new issue