From 91da312e38d6cd38cd68b8b9ddb2c4b8d92819c0 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 17 Aug 2026 16:03:12 +0300 Subject: [PATCH] ci : push release tag explicitly in release.yml Add a "Create and push git tag" step to the release job, right before the "Create release" step. The tag is created with git tag and pushed with the deploy key already configured by the Clone step, instead of relying on the Releases API (action-create-release) to create it as a side effect. The tag is lightweight, matching all existing b release tags. The step is idempotent: if the tag already exists (e.g. on a re-run), creation and push are skipped. Assisted-by: pi:llama.cpp/Qwen3.8-27B --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d7a39a3700b..eba2bd87b505 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1662,6 +1662,16 @@ jobs: run: | tar -czvf release/llama-${{ steps.tag.outputs.name }}-ui.tar.gz --transform "s,^\.,llama-${{ steps.tag.outputs.name }}," -C ./ui-dist . + - name: Create and push git tag + run: | + TAG="${{ steps.tag.outputs.name }}" + if git rev-parse -q --verify "refs/tags/${TAG}" >/dev/null 2>&1; then + echo "Tag ${TAG} already exists, skipping creation" + else + git tag "${TAG}" + git push origin "${TAG}" + fi + - name: Create release id: create_release uses: ggml-org/action-create-release@v1