Browse Source

update golang version

pull/1546/head
Darien Raymond 6 years ago
parent
commit
cccd568ea3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      azure-pipelines.template.yml
  2. 2
      release/release-ci.sh

2
azure-pipelines.template.yml

@ -13,7 +13,7 @@ jobs:
- checkout: none - checkout: none
- task: GoTool@0 - task: GoTool@0
inputs: inputs:
version: '1.11.2' version: '1.11.5'
- script: | - script: |
go version go version
go get -v -t -d v2ray.com/core/... go get -v -t -d v2ray.com/core/...

2
release/release-ci.sh

@ -38,7 +38,7 @@ echo ${SIGN_KEY_PASS} | gpg --passphrase-fd 0 --batch --import /v2/build/sign_ke
curl -L -o /v2/build/releases https://api.github.com/repos/v2ray/v2ray-core/releases curl -L -o /v2/build/releases https://api.github.com/repos/v2ray/v2ray-core/releases
GO_INSTALL=golang.tar.gz GO_INSTALL=golang.tar.gz
curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.11.2.linux-amd64.tar.gz curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz
tar -C /usr/local -xzf ${GO_INSTALL} tar -C /usr/local -xzf ${GO_INSTALL}
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin

Loading…
Cancel
Save