mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-27 11:14:59 +00:00
fix(cli): push branch and tag atomically in publish-cli.sh
This commit is contained in:
parent
378216c6da
commit
490ddfa548
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue