mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
build_gitea : bump nodejs, go version
This commit is contained in:
parent
542edd1bbc
commit
2a5d6d7781
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user