Skip to content

Commit 72f9da3

Browse files
authored
Merge pull request #285 from slimm609/update_goreleaser
update goreleaser config
2 parents 5b304a3 + b08fffa commit 72f9da3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.goreleaser.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ release:
66
extra_files:
77
- glob: dist/*.sig
88
- glob: dist/*.pub
9+
- glob: dist/*.yaml
10+
- glob: dist/*.txt
911

1012
env:
1113
- DOCKER_CLI_EXPERIMENTAL=enabled
@@ -32,7 +34,13 @@ builds:
3234
sboms:
3335
- id: checksec
3436
documents:
35-
- "${artifact}.spdx.sbom.json"
37+
- "${artifact}-{{ .Os }}-{{ .Arch }}.spdx.sbom.json"
3638
cmd: syft
37-
args: ["$artifact", "--output", "cyclonedx-json=$document"]
39+
args: ["${artifact}", "--output", "cyclonedx-json=${document}"]
3840
artifacts: binary
41+
42+
checksum:
43+
name_template: "{{ .ProjectName }}_checksums.sha512"
44+
algorithm: sha512
45+
46+
report_sizes: true

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SHELL = bash
2-
VERSION ?= 3.0.1
2+
VERSION ?= 3.0.2
33

44
.PHONY: test
55
test:

0 commit comments

Comments
 (0)