修改打包脚本

This commit is contained in:
chenjia404
2023-07-02 01:58:18 +08:00
parent 73d4946e9e
commit ff50030cd8

View File

@@ -32,15 +32,18 @@ builds:
archives:
-
id: p2ptunnel
format: zip
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
algorithm: sha512
signs:
- artifacts: all
signature: "${artifact}.asc"
args: ["--armor","--detach-sign", "${artifact}"]
snapshot:
name_template: "{{ .Tag }}"
changelog: