fix(cli): push branch and tag atomically in publish-cli.sh

This commit is contained in:
Cheney 2026-05-12 11:01:50 +08:00
parent 378216c6da
commit 490ddfa548

View file

@ -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"