Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Library/Homebrew/dev-cmd/pr-upload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ def pr_upload

safe_system HOMEBREW_BREW_FILE, *bottle_args

# Check the bottle commits did not break `brew audit`
unless args.no_commit?
audit_args = ["bottle", "--merge", "--write"]
audit_args << "--verbose" if args.verbose?
audit_args << "--debug" if args.debug?
safe_system HOMEBREW_BREW_FILE, *audit_args
end

if github_releases?(bottles_hash)
# Handle uploading to GitHub Releases.
bottles_hash.each_value do |bottle_hash|
Expand Down