Skip to content

Commit

Permalink
fix goreleaser deprecations (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Sullivan <[email protected]>
  • Loading branch information
ColinSullivan1 authored Apr 14, 2020
1 parent aabb44f commit ef6e20d
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,29 @@ builds:

lang: go

archive:
wrap_in_directory: true
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: zip
files:
- LICENSE
- README.md
archives:
- id: zipfiles
wrap_in_directory: true
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: zip
files:
- LICENSE
- README.md
- nats-surveyor*

nfpm:
formats:
- deb
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
description: A Simplified Prometheus Monitoring Solution for NATS
vendor: nats.io
maintainer: Colin Sullivan <[email protected]>
homepage: https://nats.io
license: Apache 2.0
nfpms:
-
formats:
- deb
file_name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
description: A Simplified Prometheus Monitoring Solution for NATS
vendor: nats.io
maintainer: Colin Sullivan <[email protected]>
homepage: https://nats.io
license: Apache 2.0

snapshot:
name_template: SNAPSHOT-{{ .Commit }}
Expand Down

0 comments on commit ef6e20d

Please sign in to comment.