From 9725b7957652cbc22b980c383f19ea362b339bb5 Mon Sep 17 00:00:00 2001 From: Jian Yuan Lee Date: Mon, 17 Jun 2024 23:21:28 +0100 Subject: [PATCH] fix: release.yml workflow --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 747a40cc..2b285671 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: uses: goreleaser/goreleaser-action@v6.0.0 with: version: latest - args: release --rm-dist + args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 4703e8cd..ad1c9973 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,8 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +version: 2 + before: hooks: - go mod tidy @@ -57,4 +59,4 @@ release: # Manually examine the release before it goes live: draft: true changelog: - skip: true + disable: true