From 1df4156bc85a393f3b561beab73a50297691f1a7 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Thu, 16 Mar 2023 13:59:53 -0500 Subject: [PATCH] [FIX] goreleaser configuration outdated breaking CI release --- .goreleaser.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6df08be..de41aef 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,11 +18,11 @@ builds: dist: build -archive: - wrap_in_directory: true - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm +archives: + - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - format: zip + wrap_in_directory: true + format: zip checksum: name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt' @@ -30,9 +30,12 @@ checksum: snapshot: name_template: 'dev' -nfpm: - formats: - - deb - bindir: /usr/local/bin - description: NKeys utility cli program - vendor: nats-io +nfpms: + - file_name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm + }}v{{ .Arm }}{{ end }}' + maintainer: nats.io + description: NKeys utility cli program + vendor: nats-io + bindir: /usr/local/bin + formats: + - deb \ No newline at end of file