From cbdfa4569b58d49cce2e007477d7ad88f81082ea Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Tue, 23 Sep 2025 19:06:18 +0800 Subject: [PATCH] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ff5384e..c2e66bd 100644 --- a/build.sh +++ b/build.sh @@ -154,7 +154,7 @@ compilation_script() { print_success "检测到最新版本: $tag_version" print_info "开始克隆源代码仓库..." - git clone --depth=1 --quiet https://github.com/openwrt/openwrt -b "v$tag_version" + git -c advice.detachedHead=false clone --depth=1 --quiet https://github.com/openwrt/openwrt -b "v$tag_version" 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