Merge branch 'macos' into macos-rebase
This commit is contained in:
commit
5878fd010e
|
@ -23,6 +23,8 @@ builds:
|
|||
- 5
|
||||
- 6
|
||||
- 7
|
||||
hooks:
|
||||
post: ./build-darwin-cgo.sh
|
||||
archive:
|
||||
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }}"
|
||||
replacements:
|
||||
|
|
5
build-darwin-cgo.sh
Executable file
5
build-darwin-cgo.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
xgo --targets="darwin/386,darwin/amd64" $PWD
|
||||
mv gotop-darwin-10.6-386 dist/darwin_386/gotop
|
||||
mv gotop-darwin-10.6-amd64 dist/darwin_amd64/gotop
|
Loading…
Reference in New Issue
Block a user