Skip to content

Fix: postflight deprecated warning - #1

Closed
jordan-begian wants to merge 1 commit into
clawscli:mainfrom
jordan-begian:main
Closed

jordan-begian wants to merge 1 commit into
clawscli:mainfrom
jordan-begian:main

Conversation

@jordan-begian

Copy link
Copy Markdown

Issue

Deprecated warning after running brew install --cask clawscli/tap/claws

"Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the clawscli/homebrew-tap tap (not Homebrew/* repositories), 
or even better, submit a PR to fix it: /opt/homebrew/Library/Taps/clawscli/homebrew-tap/Casks/claws.rb:37

Fix

Updated postflight to postflight_steps in Casks/claws.rb:37

Deprecated warning after "brew install --cask clawscli/tap/claws":
"Warning: Calling `postflight` is deprecated! Use `postflight_steps`
instead.Please report this issue to the clawscli/homebrew-tap tap (not
Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/clawscli/homebrew-tap/Casks/claws.rb:37"
@danepowell

Copy link
Copy Markdown

@yimsk is this something you can review?

@yimsk

yimsk commented Oct 31, 2026

Copy link
Copy Markdown

Thanks for the report! This file is generated by GoReleaser, so I'll fix it in clawscli/claws instead. (Also, postflight_steps doesn't accept Ruby blocks like system_command, so this change would break the cask.) I'll close this once a new release regenerates the cask.

@yimsk

yimsk commented Oct 31, 2026

Copy link
Copy Markdown

Fixed in clawscli/claws#207 and released in v0.18.1. The cask now uses postflight_steps, so the deprecation warning is gone after brew update && brew upgrade --cask clawscli/tap/claws. Thanks again for the report!

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.

3 participants