From dcca1328a34dfcc0fba227bcf44cba55a31738fa Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 11 Jun 2024 09:58:22 +0300 Subject: [PATCH] Adapt config to GoRelease v2 Signed-off-by: Stefan Prodan --- .github/workflows/release.yaml | 2 +- .goreleaser.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 90c9893711..32bb188bd5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,7 +82,7 @@ jobs: uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest - args: release --release-notes=output/notes.md --skip-validate + args: release --release-notes=output/notes.md --skip=validate env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index df71dd3be7..c2734b551c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ builds: - arm64 - arm goarm: - - 7 + - "7" - <<: *build_defaults id: darwin goos: @@ -73,11 +73,11 @@ signs: output: true brews: - name: flux - tap: + repository: owner: fluxcd name: homebrew-tap token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" - folder: Formula + directory: Formula homepage: "https://fluxcd.io/" description: "Flux CLI" install: |