Skip to content

Commit 0367023

Browse files
authored
Add raw binary entries to checksums.txt (#523)
1 parent 06ab7f6 commit 0367023

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.goreleaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ builds:
1212
- linux_arm64
1313
- windows_386
1414
- windows_amd64
15+
hooks:
16+
post:
17+
- mkdir -p ./dist/raw
18+
- cp "{{ .Path }}" "./dist/raw/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
1519
archives:
1620
- id: zip
1721
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
@@ -22,6 +26,8 @@ changelog:
2226
skip: true
2327
checksum:
2428
name_template: 'checksums.txt'
29+
extra_files:
30+
- glob: ./dist/raw/*
2531
signs:
2632
- cmd: cosign
2733
signature: '${artifact}.keyless.sig'

0 commit comments

Comments
 (0)