Skip to content

Pin GoReleaser CLI to ~> v2 instead of 'latest'#14

Merged
drogers0 merged 1 commit into
mainfrom
chore/pin-goreleaser-version
May 27, 2026
Merged

Pin GoReleaser CLI to ~> v2 instead of 'latest'#14
drogers0 merged 1 commit into
mainfrom
chore/pin-goreleaser-version

Conversation

@drogers0

Copy link
Copy Markdown
Owner

Summary

The v1.0.0 release run surfaced:

You are using 'latest' as default version. Will lock to '~> v2'.

Making the lock explicit avoids silent breakage if GoReleaser ships a v3 with behavior changes. `~> v2` accepts any v2.x release (minor+patch updates flow in automatically) but blocks a major bump.

This pairs with #13 (which bumped `goreleaser/goreleaser-action@v6` → `@v7`) to clear both warnings raised on the v1.0.0 release workflow run.

Test plan

  • CI passes on this PR
  • Next tag-triggered release run no longer emits the "Will lock to" warning

The v1.0.0 release run surfaced:

  You are using 'latest' as default version. Will lock to '~> v2'.

Making the lock explicit avoids silent breakage if GoReleaser ships a v3
with behavior changes. '~> v2' accepts any v2.x release (minor+patch
updates flow in automatically) but blocks a major bump.
@drogers0 drogers0 merged commit 4a1a1a5 into main May 27, 2026
1 check passed
@drogers0 drogers0 deleted the chore/pin-goreleaser-version branch May 27, 2026 00:23
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.

1 participant