From a8c121232ecf76558257421ae291590bb5cf21d7 Mon Sep 17 00:00:00 2001 From: Florian Hopfensperger Date: Wed, 26 Jun 2024 22:07:33 +0200 Subject: [PATCH] fix(ci): go releaser new args (#191) Signed-off-by: Florian Hopfensperger --- .github/workflows/go.yml | 2 +- .goreleaser.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 162eceb..24302cc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -60,7 +60,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index d22f4c7..8ca2571 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy @@ -22,10 +23,11 @@ builds: - arm64 brews: - - tap: + - name: git-remote-cleanup + repository: owner: fhopfensperger name: homebrew-tap - folder: Formula + directory: Formula homepage: https://fhopfensperger.github.io description: Get and delete no longer needed release branches from a remote repository. license: Apache 2.0