зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Reuse `sh` helper for `git push` too
https://github.com/rubygems/rubygems/commit/32aa540163
This commit is contained in:
Родитель
df21600b98
Коммит
621fe09016
|
@ -160,9 +160,7 @@ module Bundler
|
|||
|
||||
def perform_git_push(options = "")
|
||||
cmd = "git push #{options}"
|
||||
out, status = sh_with_status(cmd.shellsplit)
|
||||
return if status.success?
|
||||
raise "Couldn't git push. `#{cmd}' failed with the following output:\n\n#{out}\n"
|
||||
sh(cmd.shellsplit)
|
||||
end
|
||||
|
||||
def already_tagged?
|
||||
|
|
Загрузка…
Ссылка в новой задаче