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
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,11 @@ jobs:
# (NoMethodError). Rewrite it to the backward-compatible `Formula["openssl@3"].opt_prefix`
# form for the local test install only; the generated/submitted formula stays upstream-faithful.
sed -E -i '' 's/formula_opt_prefix\(?[[:space:]]*"([^"]+)"[[:space:]]*\)?/Formula["\1"].opt_prefix/g' $(brew --repository)/Library/Taps/dev/homebrew-azure-cli/Formula/azure-cli.rb

# Homebrew 6.0.0+ requires non-official taps to be explicitly trusted before it will
# load their Ruby code (see https://docs.brew.sh/Tap-Trust). Trust this local dev tap
# that we just created so the generated formula can be installed in CI.
brew trust dev/azure-cli
brew install --build-from-source dev/homebrew-azure-cli/azure-cli
Comment on lines +696 to 697

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By Homebrew's naming convention, a tap repo must be named homebrew- on disk, but the homebrew- prefix is always stripped when Homebrew refers to the tap. So:

dev/azure-cli → tap dev/azure-cli
dev/homebrew-azure-cli → also normalizes to tap dev/azure-cli


echo == Az Version ==
Expand Down
Loading