goreleaser check fails on v2.19: homebrew_casks.hooks.post.install is deprecated
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 72/100
調査の方向性
.goreleaser.yamlを読み、Homebrew caskのインストールフックを見つけます。その本体をGoReleaserのpostflight_steps DSLドキュメントと比較します。次にGoReleaser v2.18の固定を削除し、v2.19以降でValidate goreleaser configジョブを実行します。設定が非推奨による失敗なしで検証されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
GoReleaser v2.19.0 (released 2026-10-22) deprecates homebrew_casks.hooks.post.install, which .goreleaser.yaml uses for the Homebrew cask. goreleaser check treats deprecated properties as a failure, so the Validate goreleaser config job in the post-merge workflow fails whenever it runs v2.19 or later.
What changed upstream
- Homebrew deprecated the cask
postflightstanza in favour of a declarativepostflight_stepsDSL (Homebrew/brew#23366). - GoReleaser v2.19 mirrors this:
hooks.pre.install/hooks.post.installare deprecated, and the hook bodies must be rewritten in the new DSL rather than arbitrary Ruby. - Details: https://goreleaser.com/deprecations#homebrew_caskshookspostinstall
Impact
- The release workflows use
goreleaser/goreleaser-action@v7with the default~> v2version, so they float to the latest v2.x. - Until the cask hook is migrated, the repo is pinned to v2.18 to keep post-merge checks green; it cannot move to v2.19+ until then.
- Release runs use the same config and will hit the same deprecation (and eventually breakage if Homebrew removes
postflight).
Needed
Upgrade the repo to GoReleaser v2.19+ and remove the pin.
- 主要言語
- Go
- スター
- 29
- フォーク
- 24
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 111
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
harness/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jordansmall/spindrift#7895 ·
メンテナーはふだん 1 日以内に返信
-
documentation priority: medium skill: intermediate status: ready for dev
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
hyperledger-labs/fabric-smart-client#2830 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
P3 tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信