Repository navigation
fix(cask): use postflight_steps instead of deprecated postflight block - #4
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014kqPHGM4M457LjqYcPSsoE
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.
Updates the cask template in the release workflow.
brew updatewarns "Callingpostflightis deprecated! Usepostflight_stepsinstead." for this cask. The Gatekeeper quarantine strip becomes arunstep;{{appdir}}is the install-steps template token for the Applications directory, andwritable_pathsscopes the sandboxed step to the app bundle it modifies.Two pre-existing drifts between the template and the tap are fixed alongside, since the next release would otherwise overwrite the tap with them:
depends_on macos: ">= :sonoma"becomes:sonoma, matching the hand-corrected tap.zap trashtakes a single string rather than a one-element array, whichbrew stylerejects.Rendering the template with the v1.3.2 version and SHA produces a file identical to the tap fix in radiosilence/homebrew-browser-schedule. The same stanza was verified with
brew reinstallon koan-app;brew stylepasses.🤖 Generated with Claude Code
https://claude.ai/code/session_014kqPHGM4M457LjqYcPSsoE