diff --git a/build-wg-go.sh b/build-wg-go.sh index e9ca626..7e9166a 100644 --- a/build-wg-go.sh +++ b/build-wg-go.sh @@ -5,7 +5,7 @@ set -x set -e # Initialise build environment -GOPATH=`pwd` go get -v -d golang.zx2c4.com/wireguard +GOPATH=`pwd` go install -v golang.zx2c4.com/wireguard@latest # Define build configurations OSARCHCFG="linux:amd64:wireguard-go windows:amd64:wireguard-go.exe darwin:amd64:wireguard-go-darwin linux:arm64:wireguard-go-linux-arm64"