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'