spegel/.goreleaser.yaml
Philip Laine 10da718e6b
Build binaries as part of the release process
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2025-04-26 10:32:06 +02:00

27 lines
480 B
YAML

version: 2
project_name: spegel
before:
hooks:
- go mod tidy
builds:
- goos:
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 7
env:
- CGO_ENABLED=0
flags:
- -trimpath
- -a
no_unique_dist_dir: true
binary: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}/{{ .ProjectName }}"
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- none*