summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 17:40:01 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-18 18:08:59 +0900
commit9132153930b88b5ffeb95d42081c05d5eceb2d90 (patch)
treea784fbc3b51b1de92ce37ea5d84e7d34b5cab793
parentad0ea708caec880c3f357fe761c215efc169fa55 (diff)
Ignore tags on default gems from ruby core repository.
-rw-r--r--tool/sync_default_gems.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index dc5c9ba088..10f5df3c47 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -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`