From 7f0af1c70594255e04db25ffb4eb661816a7d137 Mon Sep 17 00:00:00 2001 From: kpym Date: Tue, 22 Oct 2024 13:12:04 +0200 Subject: [PATCH] update release names --- .goreleaser.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index cfdbe60..8661730 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,4 @@ -# This is an example goreleaser.yaml file with some sane defaults. -# Make sure to check the documentation at http://goreleaser.com +version: 2 project_name: gm env: - GOLDMARK_VERSION={{ if index .Env "GOLDMARK_VERSION" }}{{ .Env.GOLDMARK_VERSION }}{{ else }}--{{ end }} @@ -25,15 +24,15 @@ archives: # 386: 32bit # amd64: 64bit # We replace this with the following: - name_template: >- + name: >- {{ .ProjectName }}_{{ .Version }}_ {{- if eq .Os "darwin" }}MacOS {{- else if eq .Os "linux" }}Linux {{- else if eq .Os "windows" }}Windows {{- else }}{{ .Os }} {{- end }}_ - {{- if eq .Arch "amd64" }}64bit - {{- else if eq .Arch "386" }}32bit + {{- if eq .Arch "amd64" }}intel64 + {{- else if eq .Arch "386" }}intel32 {{- else }}{{ .Arch }} {{- end }} format_overrides: