grokkit/.goreleaser.yaml
Greg Gauthier b8482b6fb0
Some checks failed
CI / Test (push) Successful in 26s
CI / Lint (push) Successful in 20s
CI / Build (push) Successful in 14s
Release / Create Release (push) Failing after 10s
feat(release): add automated release workflow and install script
- Embed version info in binaries via ldflags
- Create multi-platform builds, archives, and checksums
- Add Gitea release creation and asset upload in CI
- Introduce GoReleaser config for standardized builds
- Add version command and install script for easy deployment
- Update README with pre-built installation instructions
2026-03-01 23:25:31 +00:00

28 lines
649 B
YAML

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
binary: grokkit
ldflags:
- -s -w
- -X gmgauthier.com/grokkit/internal/version.Version={{.Version}}
- -X gmgauthier.com/grokkit/internal/version.Commit={{.Commit}}
- -X gmgauthier.com/grokkit/internal/version.BuildDate={{.Date}}
- -trimpath
archives:
- format: tar.gz
name_template: 'grokkit_{{.Os}}_{{.Arch}}_{{.Version}}.tar.gz'
- format: zip
name_template: 'grokkit_{{.Os}}_{{.Arch}}_{{.Version}}.zip'
os: windows
checksum:
name_template: 'checksums.txt'