From 6a3f466a21811f8ebb1bc3bcf37e317324386755 Mon Sep 17 00:00:00 2001 From: Max Jonas Werner Date: Thu, 20 Jun 2024 19:05:15 +0200 Subject: [PATCH] Fix breaking changes in GoReleaser v2 Signed-off-by: Max Jonas Werner --- .github/workflows/release.yaml | 2 +- .goreleaser.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b98a764..dcdc7cd2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,6 +32,6 @@ jobs: uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest - args: release --release-notes=/tmp/release.txt --rm-dist + args: release --release-notes=/tmp/release.txt --clean env: GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 5feaac0d..abd678c2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,9 @@ +version: 2 # .goreleaser.yml project_name: go-git-providers # This is a library so we don't have any build targets, but having goreleaser automatically # generate release notes for us is nice. -build: - skip: true - +builds: + - id: go-git-providers + skip: true