From 3fe668125a7814cafb71bd3caa9a5ebde72af028 Mon Sep 17 00:00:00 2001 From: Rafael Barash Date: Thu, 5 Sep 2024 12:41:00 -0600 Subject: [PATCH] fix missing bracket in goreleaser github action config. Also update .goreleaser.yml config with "goreleaser check" noticies --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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: