From e5c4bd10727a6b288a4a5c80ade6a18b557803f0 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Tue, 8 Aug 2023 22:28:34 +0900 Subject: [PATCH] Add raw binary entries to checksums.txt (#55) --- .goreleaser.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 321a77a..d7413db 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: - cmd: cosign signature: '${artifact}.keyless.sig'