Skip to content

Commit

Permalink
Merge pull request #45 from nats-io/goreleaser-update
Browse files Browse the repository at this point in the history
[FIX] goreleaser configuration outdated breaking CI release
  • Loading branch information
aricart authored Mar 16, 2023
2 parents ff46c04 + 1df4156 commit 48b81be
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 48b81be

Please sign in to comment.