diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cce248e..73388cb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,4 +21,4 @@ jobs: version: '~> v2' args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN } + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 4aa4ca47..1127106b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # This is an example .goreleaser.yml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com +version: 2 before: hooks: # Needed because we use go modules. @@ -23,7 +24,7 @@ archives: checksum: name_template: "checksums.txt" snapshot: - name_template: "{{ .Version }}" + version_template: "{{ .Version }}" changelog: sort: asc filters: