Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,14 @@ archives:
- id: "default"
builds:
- newrelic
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- CHANGELOG.md
- LICENSE
- README.md
rlcp: true

signs:
- artifacts: all
Expand Down Expand Up @@ -169,15 +164,16 @@ scoop:
nfpms:
- id: newrelic
package_name: newrelic-cli
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
file_name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
builds:
- newrelic
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
vendor: New Relic
homepage: https://github.com/newrelic/newrelic-cli
maintainer: opensource@newrelic.com
Expand Down
Loading
Loading