From 77ab4f180b29a829998a84852674e07a13d6724e Mon Sep 17 00:00:00 2001 From: Patrick D'appollonio <930925+patrickdappollonio@users.noreply.github.com> Date: Wed, 22 Feb 2023 21:22:42 -0500 Subject: [PATCH] Fixes goreleaser. --- .github/workflows/releasing.yaml | 2 +- .goreleaser.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releasing.yaml b/.github/workflows/releasing.yaml index c35a0d0..46b657c 100644 --- a/.github/workflows/releasing.yaml +++ b/.github/workflows/releasing.yaml @@ -28,7 +28,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update new version in krew-index diff --git a/.goreleaser.yml b/.goreleaser.yml index 99d9ad0..ff512b6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,7 @@ builds: archives: - name_template: >- {{ .ProjectName }}_ - {{ .Version }}_ + v{{ .Version }}_ {{- tolower .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386