From 6beb6e991fcea4df0c87e0d1278fe4ca376e347d Mon Sep 17 00:00:00 2001 From: alisonshao <54658187+alisonshao@users.noreply.github.com> Date: Tue, 18 Nov 2025 03:23:27 -0800 Subject: [PATCH] fix: create git tags directly instead of temporary branches (#13168) --- .github/workflows/release-fake-tag.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-fake-tag.yml b/.github/workflows/release-fake-tag.yml index be30633c5..d1acc6bf4 100644 --- a/.github/workflows/release-fake-tag.yml +++ b/.github/workflows/release-fake-tag.yml @@ -27,9 +27,9 @@ jobs: version=$(cat python/sglang/version.py | cut -d'"' -f2) echo "TAG=v$version" >> $GITHUB_OUTPUT - - name: Create and push fake tag + - name: Create and push tag run: | git config user.name "sglang-bot" git config user.email "sglang-bot@users.noreply.github.com" - git checkout -b ${{ steps.get_version.outputs.TAG }} - git push --set-upstream origin ${{ steps.get_version.outputs.TAG }} + git tag ${{ steps.get_version.outputs.TAG }} + git push origin ${{ steps.get_version.outputs.TAG }}