From ff50030cd8b3b3423d73835639e88641a6309fda Mon Sep 17 00:00:00 2001 From: chenjia404 Date: Sun, 2 Jul 2023 01:58:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .goreleaser.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 06ef787..b675f96 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: