Skip to content

Commit

Permalink
chore: release with SBOM (#22)
Browse files Browse the repository at this point in the history
solves #1

Signed-off-by: Mario Constanti <github@constanti.de>
  • Loading branch information
bavarianbidi committed Sep 9, 2024
1 parent d41e7ac commit fe4be15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ release:
owner: bavarianbidi
name: kubectl-dpm
prerelease: auto
extra_files:
- glob: tmp/kubectl-dpm.bom.spdx
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ sbom-generate: kbom ## Generate SBOM
##@ Release

.PHONY: release
release: goreleaser ## Create a new release
release: sbom-generate goreleaser ## Create a new release
$(GORELEASER) release --clean

##@ Build Dependencies
Expand All @@ -100,7 +100,7 @@ GOLANGCI_LINT_VERSION ?= v1.60.3
GORELEASER_VERSION ?= v2.0.1
NANCY_VERSION ?= v1.0.46
GOVULNCHECK_VERSION ?= v1.1.3
KBOM_VERSION ?= v0.5.1
KBOM_VERSION ?= v0.6.0

.PHONY: golangci-lint
golangci-lint: $(GOLANGCI_LINT) ## Download golangci-lint locally if necessary. If wrong version is installed, it will be overwritten.
Expand Down

0 comments on commit fe4be15

Please sign in to comment.