diff --git a/release/install.sh b/release/install.sh index 7922373ef..764e764c7 100755 --- a/release/install.sh +++ b/release/install.sh @@ -1,7 +1,7 @@ #!/bin/bash -GO_AMD64=https://storage.googleapis.com/golang/go1.9.4.linux-amd64.tar.gz -GO_X86=https://storage.googleapis.com/golang/go1.9.4.linux-386.tar.gz +GO_AMD64=https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz +GO_X86=https://storage.googleapis.com/golang/go1.10.linux-386.tar.gz ARCH=$(uname -m) GO_CUR=${GO_AMD64} diff --git a/release/release-ci.sh b/release/release-ci.sh index 51b752211..fc1925578 100755 --- a/release/release-ci.sh +++ b/release/release-ci.sh @@ -25,7 +25,7 @@ echo ${SIGN_KEY_PASS} | gpg --passphrase-fd 0 --batch --import /v2ray/build/sign curl -L -o /v2ray/build/releases https://api.github.com/repos/v2ray/v2ray-core/releases GO_INSTALL=golang.tar.gz -curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.9.4.linux-amd64.tar.gz +curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz tar -C /usr/local -xzf ${GO_INSTALL} export PATH=$PATH:/usr/local/go/bin