diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 89feb247..d0aaacd3 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -9,7 +9,7 @@ name: goreleaser tags: - v[0-9]+.[0-9]+.[0-9]+ permissions: - contents: read + contents: write packages: write jobs: release: @@ -28,7 +28,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: - args: release --rm-dist --release-notes=./build/release-info + args: release --clean --release-notes=./build/release-info version: latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 4aa951f6..c7f097ef 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,7 +45,7 @@ archives: - completions/* brews: - - tap: + - repository: owner: sapcc name: limesctl folder: HomebrewFormula