diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-08 22:48:37 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-08 22:48:37 +1000 |
commit | 778cb14dc48d24764b86d2a7e9ac3a7ddb4121a6 (patch) | |
tree | 2d287b534d7f0383580b69584a5e1fe8a4dbbd77 /.goreleaser.yml | |
parent | 00c679a3f04df5378d46fb57b9abbdd374c93680 (diff) |
update to use goreleaser ldflags
Diffstat (limited to '.goreleaser.yml')
-rw-r--r-- | .goreleaser.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml index 41c2806ed..27aaf3638 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,18 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com builds: -- env: - - CGO_ENABLED=0 + env: + - CGO_ENABLED=0 + main: ./main.go + goos: + - freebsd + - windows + - darwin + - linux + goarch: + - amd64 + - arm + - arm64 archive: replacements: darwin: Darwin |