fix: release package name (#1442)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2022-07-07 22:21:05 +08:00
parent 181a6ba87f
commit 1ab97de237
No known key found for this signature in database
GPG Key ID: 8B4E5D1290FA2FFB
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ builds:
- -X "d7y.io/dragonfly/v2/version.Gogcflags=none"
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
- name_template: "dragonfly-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- LICENSE
@ -112,7 +112,7 @@ changelog:
nfpms:
- id: dfget
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
file_name_template: "dfget-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
package_name: dfget
maintainer: Dragonfly Maintainers <dragonfly-maintainers@googlegroups.com>
description: dfget is the client of Dragonfly used to download and upload files