sq/.goreleaser-linux-amd64.yml
Neil O'Toole 32d0896164
Multiplatform goreleaser (#106)
This PR moves `sq` to using GitHub workflows for publishing.
2022-11-06 22:49:05 -07:00

26 lines
480 B
YAML

before:
hooks:
- go mod tidy
dist: dist-linux
builds:
-
main: .
binary: sq
env:
- CGO_ENABLED=1
- CGO_LDFLAGS=-static
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w
- -X github.com/neilotoole/sq/cli/buildinfo.Version={{ .Version }}
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
archives:
- format: binary