dev-cmd/pr-upload: fix gems not being installed with --upload-only
This commit is contained in:
parent
fa56f723b1
commit
1af398068c
@ -92,6 +92,8 @@ module Homebrew
|
|||||||
odie "No bottle JSON files found in the current working directory" if json_files.blank?
|
odie "No bottle JSON files found in the current working directory" if json_files.blank?
|
||||||
bottles_hash = bottles_hash_from_json_files(json_files, args)
|
bottles_hash = bottles_hash_from_json_files(json_files, args)
|
||||||
|
|
||||||
|
Homebrew.install_bundler_gems!(groups: ["pr_upload"])
|
||||||
|
|
||||||
unless args.upload_only?
|
unless args.upload_only?
|
||||||
bottle_args = ["bottle", "--merge", "--write"]
|
bottle_args = ["bottle", "--merge", "--write"]
|
||||||
bottle_args << "--verbose" if args.verbose?
|
bottle_args << "--verbose" if args.verbose?
|
||||||
@ -125,8 +127,6 @@ module Homebrew
|
|||||||
|
|
||||||
check_bottled_formulae!(bottles_hash)
|
check_bottled_formulae!(bottles_hash)
|
||||||
|
|
||||||
Homebrew.install_bundler_gems!(groups: ["pr_upload", "style"])
|
|
||||||
|
|
||||||
safe_system HOMEBREW_BREW_FILE, *bottle_args
|
safe_system HOMEBREW_BREW_FILE, *bottle_args
|
||||||
|
|
||||||
json_files = Dir["*.bottle.json"]
|
json_files = Dir["*.bottle.json"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user