From 837bec7a409b85044d6e0eb94da208c04cc773b9 Mon Sep 17 00:00:00 2001 From: Sebor Date: Sun, 26 Mar 2023 16:14:29 +0300 Subject: [PATCH] Fix goreleaser config --- .github/workflows/release.yml | 4 ++-- .goreleaser.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b9f725..248535c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,14 +16,14 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.12 + go-version: 1.20 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index b001861..6af6f01 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,6 +19,7 @@ builds: archives: - files: - "autocomplete/*" + rlcp: true # format: binary checksum: name_template: "checksums.txt"