diff --git a/.goreleaser.yml b/.goreleaser.yml index fa10f0d..728ce3e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,6 +12,10 @@ builds: - linux_arm64 - windows_386 - windows_amd64 + hooks: + post: + - mkdir -p ./dist/raw + - cp "{{ .Path }}" "./dist/raw/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" archives: - id: zip name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" @@ -20,6 +24,8 @@ archives: - none* checksum: name_template: 'checksums.txt' + extra_files: + - glob: ./dist/raw/* signs: - artifacts: checksum args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]