From 4ef2e1cadf0bcf59eabec012d8bbc9313597de33 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 5 Sep 2024 10:41:07 -0600 Subject: [PATCH] Explict use of goreleaser v2 --- .github/workflows/release.yml | 2 +- .goreleaser.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b55f20..572b243 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b787db5..4a3908f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -28,7 +30,7 @@ dockers: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ incpatch .Version }}-next" + version_template: "{{ incpatch .Version }}-next" changelog: sort: asc use: github-native