Merge pull request #33 from honwen/master

Ensure static linked binary
This commit is contained in:
zhao xin 2020-06-28 12:33:08 +08:00 committed by GitHub
commit 6c35c96929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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