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

Commit 51aff1c

Browse files
Merge pull request #248 from secrethub/feature/goreleaser-rename-nfpms-name-template
Rename deprecated nfpms.name_template field
2 parents 8a743d1 + 4c5cd75 commit 51aff1c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- run: make test
1717
verify-goreleaser:
1818
docker:
19-
- image: goreleaser/goreleaser:v0.117
19+
- image: goreleaser/goreleaser:v0.127
2020
steps:
2121
- checkout
2222
- run: goreleaser check

.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)