Skip to content

Commit

Permalink
Update goreleaser.yml
Browse files Browse the repository at this point in the history
In order to use the latest version of goreleaser (v0.144.1), the nfpms
`name_template` field must be updated to `file_name_template`. This
update is related to issue gohugoio#7551, as an old version of goreleaser has
been used to generate the binaries.

Fixes gohugoio#7551.
  • Loading branch information
ivanvc committed Oct 12, 2020
1 parent e9a7eba commit 4bec236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ nfpms:
maintainer: "Bjørn Erik Pedersen <[email protected]>"
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
license: "Apache 2.0"
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
Expand All @@ -169,7 +169,7 @@ nfpms:
maintainer: "Bjørn Erik Pedersen <[email protected]>"
description: "A Fast and Flexible Static Site Generator built with love in GoLang."
license: "Apache 2.0"
name_template: "{{.ProjectName}}_extended_{{.Version}}_{{.Os}}-{{.Arch}}"
file_name_template: "{{.ProjectName}}_extended_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
Expand Down

0 comments on commit 4bec236

Please sign in to comment.