-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(goreleaser): use native sboms feature
Signed-off-by: nscuro <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
builds: | ||
# This is a library project, we don't want to build any binaries. | ||
# Building and testing is performed in the CI workflow | ||
- skip: true | ||
# This is a library project, we don't want to build any binaries. | ||
# Building and testing is performed in the CI workflow | ||
- skip: true | ||
|
||
release: | ||
extra_files: | ||
- glob: ./bom.json | ||
prerelease: auto | ||
|
||
source: | ||
enabled: true | ||
|
||
sboms: | ||
- artifacts: source | ||
documents: | ||
- "${artifact}.cdx.sbom" | ||
cmd: cyclonedx-gomod | ||
args: [ "mod", "-licenses", "-json", "-output", "$document", "./.." ] | ||
|
||
milestones: | ||
- name_template: "{{ .Tag }}" | ||
close: true | ||
- name_template: "{{ .Tag }}" | ||
close: true | ||
|
||
changelog: | ||
use: github | ||
sort: asc | ||
groups: | ||
- title: Features | ||
regexp: "^.*feat[(\\w)]*:+.*$" | ||
order: 0 | ||
- title: Fixes | ||
regexp: "^.*fix[(\\w)]*:+.*$" | ||
order: 1 | ||
- title: Building and Packaging | ||
regexp: "^.*build[(\\w)]*:+.*$" | ||
order: 2 | ||
- title: Documentation | ||
regexp: "^.*docs[(\\w)]*:+.*$" | ||
order: 3 | ||
- title: Others | ||
order: 999 | ||
- title: Features | ||
regexp: "^.*feat[(\\w)]*:+.*$" | ||
order: 0 | ||
- title: Fixes | ||
regexp: "^.*fix[(\\w)]*:+.*$" | ||
order: 1 | ||
- title: Building and Packaging | ||
regexp: "^.*build[(\\w)]*:+.*$" | ||
order: 2 | ||
- title: Documentation | ||
regexp: "^.*docs[(\\w)]*:+.*$" | ||
order: 3 | ||
- title: Others | ||
order: 999 | ||
filters: | ||
exclude: | ||
- '^test:' | ||
- '^Merge ' | ||
- '^test:' | ||
- '^Merge ' |