From 54839f52d5abb4a9d0d3e797eacb96cbfae38d20 Mon Sep 17 00:00:00 2001 From: hotyue <52734432+hotyue@users.noreply.github.com> Date: Mon, 1 Jun 2026 07:55:18 +0000 Subject: [PATCH] =?UTF-8?q?test(env):=20=E4=B8=B4=E6=97=B6=E5=B0=86=20REPO?= =?UTF-8?q?=5FRAW=5FURL=20=E6=8C=87=E5=90=91=20feature/v4.2.0-dual-stack?= =?UTF-8?q?=20=E5=88=86=E6=94=AF=EF=BC=8C=E5=BC=80=E5=90=AF=E5=85=A8?= =?UTF-8?q?=E9=93=BE=E8=B7=AF=E5=AE=B9=E7=81=BE=E6=B2=99=E7=9B=92=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/install.sh | 2 +- master/install_master.sh | 2 +- master/tg_master.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/install.sh b/core/install.sh index 14cbc6d..578cd11 100755 --- a/core/install.sh +++ b/core/install.sh @@ -61,7 +61,7 @@ fi echo -e "======================================\n" sleep 1 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" INSTALL_DIR="/opt/ip_sentinel" CONFIG_FILE="${INSTALL_DIR}/config.conf" diff --git a/master/install_master.sh b/master/install_master.sh index 1397b2b..da9ed9c 100755 --- a/master/install_master.sh +++ b/master/install_master.sh @@ -60,7 +60,7 @@ fi echo -e "======================================\n" sleep 1 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" # [链路容灾] 双栈冗余防抖抓取,确立本地态势版本号 TARGET_VERSION=$( (curl -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt" || curl -4 -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt") 2>/dev/null | grep "^MASTER_VERSION=" | cut -d'=' -f2 | tr -d '[:space:]') diff --git a/master/tg_master.sh b/master/tg_master.sh index 8888d15..4c65866 100755 --- a/master/tg_master.sh +++ b/master/tg_master.sh @@ -9,7 +9,7 @@ CONF="/opt/ip_sentinel_master/master.conf" [ ! -f "$CONF" ] && exit 1 source "$CONF" -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" MASTER_VERSION=${MASTER_VERSION:-"3.5.0"} OFFSET_FILE="${MASTER_DIR}/.tg_offset"