Skip to content

[brew] Daily release support and Casks#7152

Merged
danieljurek merged 24 commits intomainfrom
djurek/brew-daily-release
Mar 16, 2026
Merged

[brew] Daily release support and Casks#7152
danieljurek merged 24 commits intomainfrom
djurek/brew-daily-release

Conversation

@danieljurek
Copy link
Member

Adds support for azd@daily using casks. Enables formula and cask for plain azd. Casks are the accepted way to support installing binaries produced from upstream (as opposed to formulae).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Homebrew support for publishing/installing both stable azd and a new azd@daily channel, and wires CI/CD pipelines to generate and push the right Homebrew artifacts.

Changes:

  • Introduces Homebrew formula and cask templates, including a new azd@daily cask.
  • Updates signing/publishing pipelines to generate formula/cask artifacts and push them to Azure/homebrew-azd.
  • Adds build-reason override handling to better route “daily” vs “stable” publishing behavior.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
eng/templates/brew.formula.template New formula template for stable azd installs.
eng/templates/brew.cask.template New stable cask template for azd.
eng/templates/brew.cask.daily.template New daily cask template for azd@daily.
eng/scripts/Set-CliVersionInBuild.ps1 Adds build-reason logging for version tagging diagnostics.
eng/pipelines/templates/steps/set-cli-version-cd.yml Passes build-reason override (if set) into versioning script.
eng/pipelines/templates/steps/publish-cli-brew.yml Copies generated formula/cask files into the Homebrew tap repo and pushes changes.
eng/pipelines/templates/stages/sign.yml Generates either stable formula+cask or daily cask based on build reason.
eng/pipelines/templates/stages/publish.yml Publishes daily artifacts under a daily/archive/$(CLI_VERSION) path and adds a brew publish job for CD runs.
eng/pipelines/templates/stages/build-and-test.yml Forces brew submission on CI builds by overriding metadata.
eng/pipelines/templates/jobs/build-cli.yml Adjusts conditions around Go setup vs live-test execution.

@danieljurek
Copy link
Member Author

/check-enforcer override

@danieljurek danieljurek enabled auto-merge (squash) March 16, 2026 04:24
@danieljurek danieljurek merged commit 85e7fa2 into main Mar 16, 2026
2 checks passed
@danieljurek danieljurek deleted the djurek/brew-daily-release branch March 16, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants