Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 840c527

Browse files
committed
Rename deprecated nfpms.name_template field
The old name_template is deprecated in favor of new file_name_template field. See: https://goreleaser.com/deprecations/#nfpms-name-template
1 parent d094e25 commit 840c527

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.goreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ scoop:
7777
license: Apache-2.0
7878

7979
nfpms:
80-
- name_template: "secrethub-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
80+
- file_name_template: "secrethub-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
8181
builds:
8282
- without-bin-dir
8383
vendor: SecretHub
@@ -96,4 +96,3 @@ nfpms:
9696
scripts:
9797
postinstall: "scripts/post-install.sh"
9898
postremove: "scripts/post-remove.sh"
99-

0 commit comments

Comments
 (0)