From 490ddfa5489a3f184762e2fb90763ff9474017c0 Mon Sep 17 00:00:00 2001 From: Cheney <970320820@qq.com> Date: Tue, 12 May 2026 11:01:50 +0800 Subject: [PATCH] fix(cli): push branch and tag atomically in publish-cli.sh --- scripts/publish-cli.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/publish-cli.sh b/scripts/publish-cli.sh index 3915cc8a..a68674fe 100755 --- a/scripts/publish-cli.sh +++ b/scripts/publish-cli.sh @@ -112,8 +112,7 @@ log_stage "creating tag $TAG" git -C "$REPO_ROOT" tag "$TAG" log_stage "pushing commit and tag to origin" -git -C "$REPO_ROOT" push origin "$CURRENT_BRANCH" -git -C "$REPO_ROOT" push origin "$TAG" +git -C "$REPO_ROOT" push origin "$CURRENT_BRANCH" "$TAG" log_stage "release triggered — CI workflow will build and publish" log_stage "watch progress at: https://github.com/iflytek/skillhub/actions/workflows/release-cli.yml"