cacert-gosignerclient/.goreleaser.yaml
Jan Dittberner 199f0ee0c0 Build system improvements
- remove cgo specific environment variables from goreleaser
  configuration
- add -trimpath option to go build calls
- add snapshot target in Makefile to run goreleaser
2022-12-02 09:49:38 +01:00

52 lines
1,016 B
YAML

# Make sure to check the documentation at https://goreleaser.com
project_name: cacert-gosignerclient
env:
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
- id: linux-amd64
main: ./cmd/signerclient
binary: cacert-signerclient
goos:
- linux
goarch:
- amd64
- id: linux-arm64
main: ./cmd/signerclient
binary: cacert-gosigner
goos:
- linux
goarch:
- arm64
goarm:
- "9"
- id: linux-armhf
main: ./cmd/signerclient
binary: cacert-gosigner
goos:
- linux
goarch:
- arm
goarm:
- "7"
archives:
- id: cacert-gosignerclient
builds:
- linux-amd64
- linux-arm64
- linux-armhf
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: tar.gz
wrap_in_directory: "true"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'