mirror of
https://github.com/neilotoole/sq.git
synced 2024-11-24 11:54:37 +03:00
aee9e2ed5b
* 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
25 lines
465 B
YAML
25 lines
465 B
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
dist: dist-darwin
|
|
|
|
builds:
|
|
- main: .
|
|
binary: sq
|
|
env:
|
|
- CGO_ENABLED=1
|
|
goos:
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
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
|