klefki/.goreleaser.yaml
Jared Allard 886e8aa11e
All checks were successful
tests / golangci-lint (push) Successful in 51s
tests / go test (push) Successful in 55s
feat: key generation, basic CLI
2025-02-22 22:11:11 -08:00

77 lines
1.6 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 }}"
- main: ./cmd/klefkictl
flags:
- -trimpath
ldflags:
- -s
- -w
## <<Stencil::Block(klefkictlLdflags)>>
## <</Stencil::Block>>
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
## <<Stencil::Block(klefkictlExtraArch)>>
## <</Stencil::Block>>
goos:
- linux
- darwin
- windows
## <<Stencil::Block(klefkictlExtraOS)>>
## <</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>>