From 33a5090ac9f8539d379de24cbaa51091294fca3c Mon Sep 17 00:00:00 2001 From: Dharsan Date: Thu, 1 Aug 2024 19:11:21 +0530 Subject: [PATCH] chore: update goreleaser --- .github/workflows/release.yaml | 4 ++-- .goreleaser.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a3a7546..adfde0b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,9 +36,9 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: '~> v2' args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 648831a..97848e5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +version: 2 builds: - env: # goreleaser does not work with CGO, it could also complicate @@ -61,4 +62,4 @@ release: # If you want to manually examine the release before its live, uncomment this line: # draft: true changelog: - skip: true + disable: true