From dda2f26c88ba4e5a6ddf1ea3e7c003ff47de23c2 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Tue, 14 Nov 2023 08:07:49 +0100 Subject: [PATCH] Update .goreleaser config to new version --- .goreleaser.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0480c6e..be0b1dd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,17 +17,18 @@ builds: -X main.commit={{.Commit}} -X main.date={{.CommitDate}} release: + draft: true github: owner: NETWAYS name: check_sentinelone - draft: true archives: - format: binary - replacements: - darwin: Darwin - linux: Linux - windows: Windows - amd64: x86_64 + name_template: >- + {{ .ProjectName }}_{{ .Tag }}_ + {{- if eq .Os "linux" }}Linux{{ end }} + {{- if eq .Os "windows" }}Windows{{ end }} + {{- if eq .Os "darwin" }}Darwin{{ end }} + {{- if eq .Arch "amd64" }}_x86_64{{ end }} checksum: name_template: 'checksums.txt' snapshot: