summaryrefslogtreecommitdiff
path: root/lib/bundler/gem_helper.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-09-23 11:54:09 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-28 17:43:05 +0900
commit6874d4f11622ab5c0ba68e5b45d1a35354eb6524 (patch)
tree4f49f46dd75817fe7155fbcb2d430efa7272a139 /lib/bundler/gem_helper.rb
parentf360ebb30606a4143029996073d29d007069428d (diff)
[rubygems/rubygems] Add missing `rubygem_push` prerequisite
Just like all the other tasks using the `built_gem_path`, the `:build` task is a prerequisite for this task too. https://github.com/rubygems/rubygems/commit/d193f9a7f9
Diffstat (limited to 'lib/bundler/gem_helper.rb')
-rw-r--r--lib/bundler/gem_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb
index 6096adfa27..8e1dd7c4f2 100644
--- a/lib/bundler/gem_helper.rb
+++ b/lib/bundler/gem_helper.rb
@@ -76,7 +76,7 @@ module Bundler
tag_version { git_push(args[:remote]) } unless already_tagged?
end
- task "release:rubygem_push" do
+ task "release:rubygem_push" => "build" do
rubygem_push(built_gem_path) if gem_push?
end