From 7e51c8bec021d439a896b8ea44005d5a262f8bbb Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 2 Jan 2026 10:13:13 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BB=85=E5=9C=A8tar.gz=E5=8C=85=E6=97=B6?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_meta_core.yaml | 2 +- .github/workflows/update_singbox_core.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_meta_core.yaml b/.github/workflows/update_meta_core.yaml index 8b80968a..4129d0d2 100644 --- a/.github/workflows/update_meta_core.yaml +++ b/.github/workflows/update_meta_core.yaml @@ -234,7 +234,7 @@ jobs: mkdir -p ./bin/${crashcore} mv -f ./tmp/clash-linux-* ./bin/${crashcore}/ rm -fr ./tmp - sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version + [ "${{ inputs.tag6 }}" = tar.gz ] && sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]" git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0 git push diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index cef7aa98..e13c64a5 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -255,7 +255,7 @@ jobs: mkdir -p ./bin/${crashcore} mv -f ./tmp/singbox-linux-* ./bin/${crashcore}/ rm -fr ./tmp - sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version + [ "${{ inputs.tag6 }}" = tar.gz ] && sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]" git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0 git push