From ffc9c8341a0240c39910a257a3713ea40e8f7068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E4=B9=98=E5=A6=8D=20=28Xiaoyaner=29?= <258399167+xiaoyaner0201@users.noreply.github.com> Date: Tue, 3 Nov 2026 01:33:01 +0800 Subject: [PATCH] Drop identical analytics download branches in runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both raw bases publish compose.analytics-umami.yml at the root, so the Aliyun and GitHub branches fetched the same path. No behavior change. Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com> --- scripts/runtime.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/runtime.sh b/scripts/runtime.sh index 0fe215075..78f61155a 100755 --- a/scripts/runtime.sh +++ b/scripts/runtime.sh @@ -446,12 +446,8 @@ run_analytics_compose() { prepare_analytics_files() { mkdir -p "$ANALYTICS_HOME" - if [ "$USE_ALIYUN" = "true" ]; then - analytics_source="$SKILLHUB_RAW_BASE/compose.analytics-umami.yml" - else - analytics_source="$SKILLHUB_RAW_BASE/compose.analytics-umami.yml" - fi - download_file "$analytics_source" "$ANALYTICS_COMPOSE_FILE" + # GitHub raw and the OSS mirror both publish files at the repository root. + download_file "$SKILLHUB_RAW_BASE/compose.analytics-umami.yml" "$ANALYTICS_COMPOSE_FILE" if [ ! -f "$ANALYTICS_ENV_FILE" ]; then old_umask="$(umask)" umask 077