Running brew update && brew upgrade prints this warning every time because of the xurl cask:
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the xdevplatform/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/xdevplatform/homebrew-tap/Casks/xurl.rb:37
The offending block in Casks/xurl.rb (auto-generated by GoReleaser):
postflight do
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/xurl"]
end
end
Homebrew's Cask DSL has deprecated the postflight block name in favor of postflight_steps. Since this cask file is generated by GoReleaser (per the DO NOT EDIT header), the GoReleaser Homebrew Cask template used to produce it should be updated to emit postflight_steps do ... end instead of postflight do ... end.
Environment: Homebrew on macOS (arm64), xurl 1.3.1.
Running
brew update && brew upgradeprints this warning every time because of thexurlcask:The offending block in
Casks/xurl.rb(auto-generated by GoReleaser):Homebrew's Cask DSL has deprecated the
postflightblock name in favor ofpostflight_steps. Since this cask file is generated by GoReleaser (per theDO NOT EDITheader), the GoReleaser Homebrew Cask template used to produce it should be updated to emitpostflight_steps do ... endinstead ofpostflight do ... end.Environment: Homebrew on macOS (arm64), xurl 1.3.1.