mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-01 03:14:02 +03:00
32d0896164
This PR moves `sq` to using GitHub workflows for publishing.
25 lines
464 B
YAML
25 lines
464 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={{ .Version }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
|
|
|
|
archives:
|
|
- format: binary
|