From 9a7f57a4962d88f09051df88212486455e48e4c5 Mon Sep 17 00:00:00 2001 From: Filip Weiss Date: Sun, 23 Apr 2023 13:49:36 +0200 Subject: [PATCH] ghetto replace signed file --- .goreleaser.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 149145c..53229b1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,9 @@ builds: - amd64 - arm64 hooks: - post: osslsigncode sign -key ./.tmp/key.pem -certs ./.tmp/cert.cert -n "minepkg" -i "https://minepkg.io/" -t "http://timestamp.digicert.com" -in {{ .Path }} -out {{ .Path }} + post: > + osslsigncode sign -key ./.tmp/key.pem -certs ./.tmp/cert.cert -n "minepkg" -i "https://minepkg.io/" -t "http://timestamp.digicert.com" -in {{ .Path }} -out {{ .Path }}.signed && + mv {{ .Path }}.signed {{ .Path }} archives: - id: minepkg name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"