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

Ignore tags on default gems from ruby core repository.

This commit is contained in:
Hiroshi SHIBATA 2019-08-18 17:40:01 +09:00
parent ad0ea708ca
commit 9132153930
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -327,12 +327,12 @@ def update_default_gems(gem)
Dir.chdir("../../#{author}/#{repository}") do
unless `git remote`.match(/ruby\-core/)
`git remote add ruby-core git@github.com:ruby/ruby.git`
`git fetch ruby-core`
`git fetch ruby-core --no-tags`
`git co ruby-core/trunk`
`git branch ruby-core`
end
`git co ruby-core`
`git fetch ruby-core trunk`
`git fetch ruby-core trunk --no-tags`
`git rebase ruby-core/trunk`
`git co master`
`git stash`