brew-pull: die when bumping multiple formulae.
This commit is contained in:
parent
14c4c2fd67
commit
c616fe737f
@ -124,7 +124,7 @@ module Homebrew
|
|||||||
message = `git log HEAD^.. --format=%B`
|
message = `git log HEAD^.. --format=%B`
|
||||||
|
|
||||||
if ARGV.include? '--bump'
|
if ARGV.include? '--bump'
|
||||||
onoe 'Can only bump one changed formula' unless changed_formulae.length == 1
|
odie 'Can only bump one changed formula' unless changed_formulae.length == 1
|
||||||
f = changed_formulae.first
|
f = changed_formulae.first
|
||||||
subject = "#{f.name} #{f.version}"
|
subject = "#{f.name} #{f.version}"
|
||||||
ohai "New bump commit subject: #{subject}"
|
ohai "New bump commit subject: #{subject}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user