2025-02-13 17:43:28 -08:00
|
|
|
# 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)>>
|
|
|
|
|
2025-02-22 22:11:11 -08:00
|
|
|
## <</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)>>
|
|
|
|
|
2025-02-13 17:43:28 -08:00
|
|
|
## <</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>>
|