Skip to content

Commit a0b1192

Browse files
committed
init_build_environment: bump golang and upx
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
1 parent c01ebeb commit a0b1192

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
1.7K May 8 2024 convert_translation.sh
2121
3.0K May 8 2024 create_acl_for_luci.sh
2222
3.7K May 8 2024 create_ucitrack_for_luci.sh
23-
12K Aug 29 16:58 init_build_environment.sh
23+
12K Aug 29 16:59 init_build_environment.sh
2424
18K Jun 1 2023 LICENSE
2525
4.0K Feb 6 2025 maintainer-tools
2626
4.7K Feb 6 2025 maketag.sh

init_build_environment.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ function install_dependencies() {
259259
yarn config set registry "https://registry.npmmirror.com" --global
260260
fi
261261

262-
apt install -y $BPO_FLAG golang-1.24-go
262+
apt install -y $BPO_FLAG golang-1.25-go
263263
rm -rf "/usr/bin/go" "/usr/bin/gofmt"
264-
ln -svf "/usr/lib/go-1.24/bin/go" "/usr/bin/go"
265-
ln -svf "/usr/lib/go-1.24/bin/gofmt" "/usr/bin/gofmt"
264+
ln -svf "/usr/lib/go-1.25/bin/go" "/usr/bin/go"
265+
ln -svf "/usr/lib/go-1.25/bin/gofmt" "/usr/bin/gofmt"
266266
if [ -n "$CHN_NET" ]; then
267267
go env -w GOPROXY=https://goproxy.cn,direct
268268
fi
@@ -278,7 +278,7 @@ function install_dependencies() {
278278
exit 1
279279
fi
280280

281-
UPX_REV="4.2.4"
281+
UPX_REV="5.0.2"
282282
curl -fLO "https://github.com/upx/upx/releases/download/v${UPX_REV}/upx-$UPX_REV-amd64_linux.tar.xz"
283283
tar -Jxf "upx-$UPX_REV-amd64_linux.tar.xz"
284284
rm -rf "/usr/bin/upx" "/usr/bin/upx-ucl"

0 commit comments

Comments
 (0)