For latest code to run it is needed to have latest
go version. So bumping that, and also adding a
removal of the previous go versions that can give
conflict.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Iba8b8e5c460d9b917a96d757ba3f7c9827afcec6
fi
if [ -z "${GO_VERSION}" ]; then
- GO_VERSION='go1.12.linux-amd64.tar.gz'
+ GO_VERSION='go1.13.4.linux-amd64.tar.gz'
fi
set -e -u -x -o pipefail
# install go
wget ${GO_URL}/${GO_VERSION}
+sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf ${GO_VERSION}