node 6.x is EOL'ed upgrade to latest stable (#8702)

This commit is contained in:
Harshavardhana
2019-12-25 18:57:35 -08:00
committed by Nitish Tiwari
parent c476b27a65
commit d4a390028a
2 changed files with 3 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export APT="apt --quiet --yes"
export WGET="wget --quiet --no-check-certificate"
# install nodejs source list
if ! $WGET --output-document=- https://deb.nodesource.com/setup_6.x | bash -; then
if ! $WGET --output-document=- https://deb.nodesource.com/setup_13.x | bash -; then
echo "unable to set nodejs repository"
exit 1
fi
@@ -32,7 +32,7 @@ rm -f packages-microsoft-prod.deb
$APT update
# download and install golang
GO_VERSION="1.13"
GO_VERSION="1.13.5"
GO_INSTALL_PATH="/usr/local"
download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz"
if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then