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