Skip to content

Commit

Permalink
[FIX] goreleaser configuration outdated breaking CI release
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Mar 16, 2023
1 parent ff46c04 commit 1df4156
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,24 @@ 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'

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

0 comments on commit 1df4156

Please sign in to comment.