diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23e12b8e..3788841f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,4 +54,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: version: latest - args: release --clean \ No newline at end of file + args: release --clean diff --git a/.goreleaser.yml b/.goreleaser.yml index 75fc76d8..872873b0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,12 +20,14 @@ builds: - arm64 archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - id: arc + name_template: >- + {{- .ProjectName }}_{{.Version}}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} format_overrides: - goos: windows format: zip