From 979d055c85b850310ea2424af37010993112cc2d Mon Sep 17 00:00:00 2001 From: Tomas Vik Date: Sun, 19 May 2024 14:56:43 +0200 Subject: [PATCH] chore: remove deprecated goreleaser property --- .github/workflows/release.yml | 11 ++++------- .goreleaser.yaml | 10 +--------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb4e742..7230422 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,20 +9,17 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Set up Go + - name: Set up Go uses: actions/setup-go@v3 - - - name: Run GoReleaser + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: distribution: goreleaser - version: latest + version: v1.26.1 args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4ee02eb..eb7747d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -9,13 +9,6 @@ builds: - windows - darwin - freebsd -archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 checksum: name_template: 'checksums.txt' snapshot: @@ -27,8 +20,7 @@ changelog: - '^docs:' - '^test:' brews: - - - tap: + - tap: owner: viktomas name: homebrew-taps token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"