You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Homebrew emits a deprecation warning when installing Zigflow via the cask:
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the zigflow/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/zigflow/homebrew-tap/Casks/zigflow.rb:38
This currently appears when running:
brew install --cask zigflow
The cask should be updated to replace the deprecated postflight stanza with
the supported postflight_steps equivalent.
Acceptance criteria
zigflow.rb no longer uses the deprecated postflight stanza
brew install --cask zigflow completes without the deprecation warning
Once released, migrate homebrew_casks.hooks.post.install to homebrew_casks.hooks.post.install_steps so GoReleaser generates postflight_steps instead of the deprecated postflight stanza.
goreleaser/goreleaser#6873 shipped in GoReleaser v2.19.0 (2026-10-22), so this is unblocked, and it is now also breaking CI: build.yml uses version: "~> v2", and goreleaser check exits 2 on the deprecated homebrew_casks.hooks.post.install, so both verify-goreleaser jobs fail on main (c03e92f) and on every PR (first seen on #637).
The new install_steps take Homebrew's declarative steps, not Ruby, and there is no CPU guard. The cask only stages the binary for the user's CPU, so if_path_exists keeps today's behaviour:
hooks:
post:
install_steps: | on_macos do if_path_exists "{{ .StagedPath }}/zigflow_darwin_x86_64" do run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/zigflow_darwin_x86_64"] end if_path_exists "{{ .StagedPath }}/zigflow_darwin_arm64" do run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{ .StagedPath }}/zigflow_darwin_arm64"] end end
@mrsimonemms I can open the PR with this, checked with goreleaser check and a snapshot of the generated cask. It still needs one brew install --cask zigflow on a Mac before release.
Activity
mrsimonemms commentedon Sep 17, 2026
Thread of exploring problem https://chatgpt.com/c/6aac5253-e5d0-8330-81f5-c3593130fa6c
mrsimonemms commentedon Sep 17, 2026
Blocked by goreleaser/goreleaser#6873.
Once released, migrate
homebrew_casks.hooks.post.installtohomebrew_casks.hooks.post.install_stepsso GoReleaser generatespostflight_stepsinstead of the deprecatedpostflightstanza.YJ-928 commentedon Oct 23, 2026
goreleaser/goreleaser#6873 shipped in GoReleaser v2.19.0 (2026-10-22), so this is unblocked, and it is now also breaking CI:
build.ymlusesversion: "~> v2", andgoreleaser checkexits 2 on the deprecatedhomebrew_casks.hooks.post.install, so bothverify-goreleaserjobs fail onmain(c03e92f) and on every PR (first seen on #637).The new
install_stepstake Homebrew's declarative steps, not Ruby, and there is no CPU guard. The cask only stages the binary for the user's CPU, soif_path_existskeeps today's behaviour:@mrsimonemms I can open the PR with this, checked with
goreleaser checkand a snapshot of the generated cask. It still needs onebrew install --cask zigflowon a Mac before release.mrsimonemms commentedon Oct 23, 2026
Yes please @YJ-928