Skip to content

Commit 4a1a1a5

Browse files
authored
Pin GoReleaser CLI to ~> v2 instead of 'latest' (#14)
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.
1 parent c289d9d commit 4a1a1a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Run GoReleaser
2626
uses: goreleaser/goreleaser-action@v7
2727
with:
28-
version: latest
28+
version: "~> v2"
2929
args: release --clean
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)