build_gitea : bump nodejs, go version

This commit is contained in:
minoplhy 2024-03-25 20:47:07 +07:00
parent 542edd1bbc
commit 2a5d6d7781
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -26,7 +26,7 @@ sudo apt-get update && sudo apt-get install xz-utils wget git tar g++ make -y
# NodeJS # NodeJS
if [[ $NODEJS_VERSION == "" ]] if [[ $NODEJS_VERSION == "" ]]
then then
NODEJS_VERSION=v20.3.1 NODEJS_VERSION=v20.11.1
fi fi
DISTRO=linux-x64 DISTRO=linux-x64
@ -40,7 +40,7 @@ export PATH=/usr/local/lib/nodejs/node-$NODEJS_VERSION-$DISTRO/bin:$PATH
# Golang # Golang
if [[ $GO_VERSION == "" ]] if [[ $GO_VERSION == "" ]]
then then
GO_VERSION=1.20.5 GO_VERSION=1.22.1
fi fi
sudo unlink /usr/bin/go sudo unlink /usr/bin/go