From f0418ccbd8635acd68ad34b18718bbf779d95600 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 03:12:12 +0000 Subject: [PATCH 1/2] Initial plan From fe75f842c869bd7fdb17ab2f6817e9ba3acb7c6d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 03:17:03 +0000 Subject: [PATCH 2/2] Enable auto-creation of tags in release workflow for workflow_dispatch Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8085882..3f0619c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: echo "version=${VERSION}" >> $GITHUB_OUTPUT echo "release_name=${VERSION#v}" >> $GITHUB_OUTPUT - - name: Release - Checkout tag for workflow_dispatch + - name: Release - Checkout or create tag for workflow_dispatch if: github.event_name == 'workflow_dispatch' run: | # For workflow_dispatch, we need to checkout the specific tag @@ -67,8 +67,11 @@ jobs: echo "Checking out existing tag: ${TAG}" git checkout "refs/tags/${TAG}" else - echo "::error::Tag '${TAG}' does not exist. Create the tag first before running this workflow." - exit 1 + echo "Tag '${TAG}' does not exist. Creating it now..." + CURRENT_SHA=$(git rev-parse HEAD) + git tag "${TAG}" "${CURRENT_SHA}" + git push origin "${TAG}" + echo "✅ Created and pushed tag: ${TAG} at commit ${CURRENT_SHA:0:8}" fi - name: Release - Verify checkout matches expected version