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: