Skip to content

Commit

Permalink
dev: fix Windows asset name (#1160)
Browse files Browse the repository at this point in the history
dev: goreleaser: use ProjectName in name template

This is correct way to generate file names.

Fix #1157
  • Loading branch information
ernado committed May 23, 2020
1 parent 9119ca7 commit 922071f
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ archives:
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- LICENSE
- README.md
Expand Down

0 comments on commit 922071f

Please sign in to comment.