klefki/.goreleaser.yaml
Jared Allard a0c82943d5
Some checks failed
tests / golangci-lint (push) Failing after 29s
tests / go test (push) Failing after 47s
chore: initial commit w/ stencil
2025-02-13 18:01:03 -08:00

49 lines
1 KiB
YAML

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
project_name: klefki
report_sizes: true
metadata:
mod_timestamp: "{{ .CommitTimestamp }}"
builds:
- main: ./cmd/klefki
flags:
- -trimpath
ldflags:
- -s
- -w
## <<Stencil::Block(klefkiLdflags)>>
## <</Stencil::Block>>
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
## <<Stencil::Block(klefkiExtraArch)>>
## <</Stencil::Block>>
goos:
- linux
- darwin
- windows
## <<Stencil::Block(klefkiExtraOS)>>
## <</Stencil::Block>>
ignore:
- goos: windows
goarch: arm
mod_timestamp: "{{ .CommitTimestamp }}"
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
use: git
release:
prerelease: "auto"
footer: |-
**Full Changelog**: https://git.rgst.io/homelab/klefki/compare/{{ .PreviousTag }}...{{ .Tag }}
## <<Stencil::Block(extraReleaseOpts)>>
## <</Stencil::Block>>