# see mercemay.top/src/httptap/
version: 2
project_name: httptap
before:
hooks:
- go mod tidy
builds:
- id: httptap
main: ./cmd/httptap
binary: httptap
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
archives:
- id: default
formats: [tar.gz]
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
checksum:
name_template: "checksums.txt"
algorithm: sha256
sboms:
- artifacts: archive
documents:
- "{{ .ArtifactName }}.spdx.json"
cmd: syft
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"