Skip to content

update go releaser#433

Merged
franklinlindemberg merged 1 commit into
masterfrom
franklin/update_goreleaser
Jul 4, 2026
Merged

update go releaser#433
franklinlindemberg merged 1 commit into
masterfrom
franklin/update_goreleaser

Conversation

@franklinlindemberg

@franklinlindemberg franklinlindemberg commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

When trying to release grpcui, I got the following error

# golang.org/x/tools/internal/tokeninternal
../../go/pkg/mod/golang.org/x/tools@v0.13.0/internal/tokeninternal/tokeninternal.go:78:9: invalid array length -delta * delta (constant -256 of type int64)
make: *** [release] Error 1

Updating gorelease seems to fix the issue


Note

Low Risk
Only release tooling and config change; no application runtime or security-sensitive logic is modified.

Overview
Upgrades the release pipeline from GoReleaser v1.21.0 to v2.5.0 so make release works again (the PR author hit a build failure in golang.org/x/tools when using the older toolchain).

The Makefile now installs github.com/goreleaser/goreleaser/v2@v2.5.0. .goreleaser.yml is aligned with GoReleaser v2: adds version: 2 and replaces archive format / format_overrides.format with the v2 formats list syntax (still tar.gz by default, zip on Windows).

Reviewed by Cursor Bugbot for commit 9167596. Bugbot is set up for automated code reviews on this repo. Configure here.

@franklinlindemberg franklinlindemberg merged commit 7232be1 into master Jul 4, 2026
3 checks passed
@franklinlindemberg franklinlindemberg deleted the franklin/update_goreleaser branch July 4, 2026 12:18
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.

2 participants