From 6fd77a6a22252849b0ad31524d836ccc289aa1d4 Mon Sep 17 00:00:00 2001 From: Ales Zoulek Date: Wed, 17 Jul 2024 12:35:08 +0200 Subject: [PATCH] Upgrade goreleaser config file --- .goreleaser.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index cca014d..af26a61 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: pauditd builds: @@ -13,9 +15,7 @@ builds: archives: - id: tarball - replacements: - linux: Linux - amd64: x86_64 + name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' checksum: name_template: 'checksums.txt' @@ -45,8 +45,6 @@ nfpms: overrides: rpm: file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Timestamp }}-{{ .Arch }}" - replacements: - amd64: x86_64 ## build and push dockers: