Skip to content

xurl: replace deprecated postflight with postflight_steps - #3

Open
LiorAgnin wants to merge 1 commit into
xdevplatform:mainfrom
LiorAgnin:fix/xurl-postflight-steps
Open

LiorAgnin wants to merge 1 commit into
xdevplatform:mainfrom
LiorAgnin:fix/xurl-postflight-steps

Conversation

@LiorAgnin

Copy link
Copy Markdown

Summary

Homebrew 7.0 deprecates cask postflight Ruby blocks in favour of declarative postflight_steps. Loading this cask currently prints:

Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the xdevplatform/homebrew-tap tap

This keeps the macOS quarantine-attribute cleanup, rewritten as a run step guarded with on_macos, using Homebrew's install-time {{staged_path}} token.

Sources:

Validation

  • brew info --cask xdevplatform/tap/xurl no longer prints the deprecation warning
  • brew audit --cask xdevplatform/tap/xurl is clean

The remaining brew style findings (on_intel/on_arm order, stanza grouping) are pre-existing GoReleaser output and are out of scope here.

GoReleaser still emits postflight from hooks.post.install until goreleaser/goreleaser#6873 ships. A matching change in xdevplatform/xurl (.goreleaser.yaml) is needed so the next release does not regenerate the deprecated stanza.

Homebrew 7.0 deprecates cask `postflight` Ruby blocks in favour of
declarative `postflight_steps`. Every brew command that loads this cask
prints a warning asking users to report it here.

Keep the macOS quarantine-attribute cleanup, expressed as a `run` step
with Homebrew's install-time `{{staged_path}}` token.
@CLAassistant

CLAassistant commented Sep 13, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants