Skip to content

Commit

Permalink
chore: update goreleaser to version 2
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Jul 3, 2024
1 parent 9608e26 commit 246adbc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
project_name: sbom-convert
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -26,8 +29,10 @@ builds:
ldflags:
- -s -w -X {{ .ModulePath }}/cmd/cli.version={{.Version}} -X {{ .ModulePath }}/cmd/cli.name={{.ProjectName}}
main: .

checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ incpatch .Version }}-next"

Expand Down Expand Up @@ -139,7 +144,7 @@ brews:
goarm: "7"
description: A tool to convert between different Software Bill of Materials (SBOM) formats.
license: Apache-2.0
folder: Formula
directory: Formula
install: |-
bin.install "{{ .ProjectName }}"
bash_completion.install "completions/{{ .ProjectName }}.bash" => "{{ .ProjectName }}"
Expand Down

0 comments on commit 246adbc

Please sign in to comment.