Update build.sh

This commit is contained in:
2025-10-24 21:08:39 +08:00
committed by GitHub
parent bacb842c11
commit d652133843

View File

@@ -213,7 +213,7 @@ prepare_source_code() {
print_success "检测到最新版本: $tag_version" print_success "检测到最新版本: $tag_version"
print_info "开始克隆源代码仓库..." print_info "开始克隆源代码仓库..."
git -c advice.detachedHead=false clone --depth=1 --quiet https://github.com/openwrt/openwrt -b "v$tag_version" git -c advice.detachedHead=false clone --depth=1 --branch "v$tag_version" --single-branch --quiet https://github.com/openwrt/openwrt
git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/immortalwrt/immortalwrt git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/immortalwrt/immortalwrt
git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/openwrt/openwrt openwrt_snap git clone --depth=1 --quiet -b openwrt-24.10 https://github.com/openwrt/openwrt openwrt_snap