Skip to content

Commit

Permalink
init_build_environment: bump Golang to 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 committed Jul 26, 2024
1 parent 14286f2 commit 91f399c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
1.7K May 8 22:33 convert_translation.sh
3.0K May 8 22:06 create_acl_for_luci.sh
3.7K May 8 23:28 create_ucitrack_for_luci.sh
9.9K Jun 26 02:16 init_build_environment.sh
9.9K Jul 26 21:10 init_build_environment.sh
18K Jun 1 2023 LICENSE
4.0K Jun 26 02:10 maintainer-tools
4.7K Jun 1 2023 maketag.sh
Expand Down
6 changes: 3 additions & 3 deletions init_build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ function install_dependencies() {
yarn config set registry "https://registry.npmmirror.com" --global
fi

apt install -y $BPO_FLAG golang-1.21-go
apt install -y $BPO_FLAG golang-1.22-go
rm -rf "/usr/bin/go" "/usr/bin/gofmt"
ln -svf "/usr/lib/go-1.21/bin/go" "/usr/bin/go"
ln -svf "/usr/lib/go-1.21/bin/gofmt" "/usr/bin/gofmt"
ln -svf "/usr/lib/go-1.22/bin/go" "/usr/bin/go"
ln -svf "/usr/lib/go-1.22/bin/gofmt" "/usr/bin/gofmt"
if [ -n "$CHN_NET" ]; then
go env -w GOPROXY=https://goproxy.cn,direct
fi
Expand Down

0 comments on commit 91f399c

Please sign in to comment.