Repository navigation
Replace deprecated cask verified URL and postflight hook - #103
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Homebrew 7.0.19 warns on every
brewcommand about two deprecated forms in thefmcask that GoReleaser generates (cboone/homebrew-tap#17). This updates.goreleaser.ymlso the next release publishes a cask without them:url.verified, which Homebrew now handles by default.hooks.post.install, rendered as the deprecatedpostflight, tohooks.post.install_steps, rendered aspostflight_steps. It runsxattr -dr com.apple.quarantineon the staged path on macOS, and a failure still fails the install.goreleaser-version: "2.20.4"in the release workflow.install_stepsneeds GoReleaser 2.19 or later, and the reusable workflow defaults to 2.15.4.The warning stops only once a new
fmrelease publishes the corrected cask.Verification
goreleaser checkand a local snapshot: the generated cask has noverified:and nopostflight, and has the quarantine step.make vet,make fmt,make lint,make test-all).https://claude.ai/code/session_01Q9v4NJsUuibj96yoG5fZ7b