Ensure static linked binary

This commit is contained in:
hwchan 2020-06-28 11:14:11 +08:00
parent b899f65b5a
commit fc68e6449c

View File

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
set -x set -x
go build CGO_ENABLED=0 go build
zip pingtunnel_linux64.zip pingtunnel zip pingtunnel_linux64.zip pingtunnel
GOOS=darwin GOARCH=amd64 go build GOOS=darwin GOARCH=amd64 go build
@ -24,4 +24,3 @@ zip pingtunnel_windows32.zip pingtunnel.exe
GOOS=linux GOARCH=arm64 go build GOOS=linux GOARCH=arm64 go build
zip pingtunnel_arm64.zip pingtunnel zip pingtunnel_arm64.zip pingtunnel