build(release): bump goreleaser pin v2.10.0 -> v2.15.4 + binaries plural#22
Merged
Conversation
GoReleaser v2.10 emits a deprecation warning for the singular `binary` key in homebrew_casks. The plural `binaries: [...]` form is the new shape and is available since v2.12.6. Bump the Makefile pin to the current stable (v2.15.4) and switch to the plural form. `make release-check` clean. The release workflow already pulls v2.x via `goreleaser-action@v7` with `version: "~> v2"` so CI was effectively running v2.15.4 already; this aligns local tooling with CI. Two remaining minor deprecation warnings (`dockers` and `docker_manifests` phasing out for `dockers_v2`) are left for a separate change.
Unsigned binaries on macOS get a com.apple.quarantine xattr applied by Gatekeeper at download time, and exec'ing them produces SIGKILL with no output (exit 137). v0.1.0-rc.8's brew install reproduced this exactly. Add a post-install hook to the cask that runs `xattr -dr` on the staged binary when on macOS. Linux installs are unaffected. This is a temporary workaround. The proper fix is Apple Developer Program membership + codesign + notarytool. Until then this lets `brew install remetric-dev/tap/remetric && remetric --version` actually print a version.
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.
Summary
GORELEASER_VERSIONv2.10.0 -> v2.15.4 (current stable)..goreleaser.ymlswitchbinary: "remetric"->binaries: ["remetric"]inhomebrew_casks(deprecated singular form, plural since v2.12.6).make release-checkclean.The release workflow already used
version: "~> v2"so CI was effectively on v2.15.4 already. This PR aligns local Makefile tooling with what CI was running.Two minor deprecation warnings remain (
dockersanddocker_manifestsphasing out fordockers_v2); deferring those to a separate change.Test plan
make release-checkvalidates clean under v2.15.4.