Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Chore: Upgrade global-jjb to latest, v0.83.2
[ci-management.git]
/
jjb
/
shell
/
install_go.sh
diff --git
a/jjb/shell/install_go.sh
b/jjb/shell/install_go.sh
index
a9f6ffd
..
d5b344c
100755
(executable)
--- a/
jjb/shell/install_go.sh
+++ b/
jjb/shell/install_go.sh
@@
-19,7
+19,7
@@
if [ -z "${GO_URL}" ]; then
fi
if [ -z "${GO_VERSION}" ]; then
fi
if [ -z "${GO_VERSION}" ]; then
- GO_VERSION='go1.1
2
.linux-amd64.tar.gz'
+ GO_VERSION='go1.1
3.4
.linux-amd64.tar.gz'
fi
set -e -u -x -o pipefail
fi
set -e -u -x -o pipefail
@@
-28,4
+28,5
@@
echo "---> Installing golang from ${GO_URL} with version ${GO_VERSION}"
# install go
wget ${GO_URL}/${GO_VERSION}
# install go
wget ${GO_URL}/${GO_VERSION}
+sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf ${GO_VERSION}
sudo tar -C /usr/local -xzf ${GO_VERSION}