Skip to content

Commit 3b395d2

Browse files
committed
Use goreleaser v2
1 parent 45758c5 commit 3b395d2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
go-version-file: go.mod
3434
- name: Run GoReleaser
3535
if: startsWith(github.ref, 'refs/tags/')
36-
uses: goreleaser/goreleaser-action@v5
36+
uses: goreleaser/goreleaser-action@v6
3737
with:
3838
version: latest
3939
args: release --clean

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod download
@@ -23,7 +24,7 @@ archives:
2324
checksum:
2425
name_template: 'checksums.txt'
2526
snapshot:
26-
name_template: "{{ .Tag }}-next"
27+
version_template: "{{ .Tag }}-next"
2728
changelog:
2829
sort: asc
2930
filters:

0 commit comments

Comments
 (0)