From 36d7ffb644459f6db6a4224a6df7e6a5d4981740 Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Sun, 14 Apr 2024 18:55:36 +1200 Subject: [PATCH] ci: fix artifact template and deprecated flag --- .github/workflows/ci.yml | 2 +- .goreleaser.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c88fdb9..c4d0395 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 7ba79de..e5e4ba8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -37,7 +37,8 @@ archives: wrap_in_directory: true name_template: >- {{ .ProjectName }}_ - {{- title .Os }}_ + {{ .Version }}_ + {{- tolower .Os }}_ {{- if eq .Arch "amd64" }}64-bit {{- else if eq .Arch "386" }}32-bit {{- else if eq .Arch "darwin" }}osx