diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 02555bc..c377f10 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -26,6 +26,7 @@ jobs: run: | go install golang.org/x/tools/cmd/goimports@latest go install github.com/a-h/templ/cmd/templ@latest + go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin - name: Templ run: templ generate web/pages/*.templ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0698fec..ffa7cc2 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,4 +36,8 @@ changelog: - '^test:' sboms: - - artifacts: any \ No newline at end of file + - documents: + - "{{ .ProjectName }}.cdx.sbom" + artifacts: source + cmd: cyclonedx-gomod + args: ["app", "-json", "-output", "$document", "$artifact"] \ No newline at end of file diff --git a/core/version b/core/version index 28af839..a53741c 100644 --- a/core/version +++ b/core/version @@ -1 +1 @@ -0.2.5 \ No newline at end of file +0.2.6 \ No newline at end of file