sq/.goreleaser-linux-amd64.yml
Neil O'Toole aee9e2ed5b
Feature/apk install (#134)
* wip

* wip

* Updated install.sh to support alpine/apk

* tidied up install.sh output for apk

* refactor install.sh; hopefully embedded version info now includes 'v'

* install.sh cleanup
2022-12-25 02:44:52 -07:00

26 lines
481 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=v{{ .Version }}
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
archives:
- format: binary