Skip to content

Homebrew warning: postflight is deprecated; use postflight_steps #3018

Description

@atacan

Description

Homebrew emits the following deprecation warning for the go-task cask:

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

This appears to come from Casks/go-task.rb around line 40, where the cask still uses the deprecated postflight stanza.

Expected behavior: Installing or upgrading the cask should not emit Homebrew deprecation warnings.

Suggested fix: Migrate the cask from postflight to postflight_steps per the current Homebrew Cask DSL.

Version

3.53.1

Operating system

macOS

Experiments Enabled

No response

Example Taskfile

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: releasingChanges related to the release process.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions