Skip to content

Commit 848c435

Browse files
authored
chore: Upgrade to goreleaser v2 (#11)
Hopefully this will fix the automatic generation of changelogs.
1 parent 4a2e602 commit 848c435

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
run: echo "flags=--snapshot" >> $GITHUB_ENV
4343

4444
- name: Run GoReleaser
45-
uses: goreleaser/goreleaser-action@v5
45+
uses: goreleaser/goreleaser-action@v6
4646
with:
47-
version: latest
47+
version: '~> v2'
4848
args: release --clean ${{ env.flags }}
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
project_name: standalone-soci-indexer
23
before:
34
hooks:
@@ -40,7 +41,7 @@ archives:
4041
checksum:
4142
name_template: 'checksums.txt'
4243
snapshot:
43-
name_template: "{{ incpatch .Version }}-next"
44+
version_template: "{{ incpatch .Version }}-next"
4445
changelog:
4546
use: github
4647
sort: asc

0 commit comments

Comments
 (0)