goreleaser check fails on v2.19: homebrew_casks.hooks.post.install is deprecated
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 72/100
Línea de trabajo
Lee .goreleaser.yaml y busca el hook de instalación de Homebrew cask; compara su contenido con la documentación del DSL postflight_steps de GoReleaser. Después, elimina la fijación de GoReleaser v2.18 y ejecuta el job Validate goreleaser config con v2.19 o posterior. La tarea está completada cuando la configuración se valida sin el error de obsolescencia.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 29
- Forks
- 24
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 111
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de harness/cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de harness/cli
Issues similares
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
jordansmall/spindrift#7895 ·
Los mantenedores suelen responder en 1 día
-
documentation priority: medium skill: intermediate status: ready for dev
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
hyperledger-labs/fabric-smart-client#2830 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
P3 tech debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día