From 9300ba01c9baf4edcf1c788c66bac5888d914eea Mon Sep 17 00:00:00 2001 From: chris1111 Date: Tue, 6 Oct 2026 08:37:36 -0400 Subject: [PATCH] Fix CUR_TAG detection to exclude rolling Clover-Build-Alpha tag --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c09e8ba09..ef4649daf9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: permissions: contents: write concurrency: - group: ${{ ((github.event_name == 'workflow_dispatch' && inputs.alpha_build == true) || (github.event_name == 'push' && github.ref == 'refs/heads/master')) && 'clover-alpha-release' || format('build-{0}', github.run_id) }} + group: ${{ ((github.event_name == 'workflow_dispatch' && inputs.alpha_build == true) || (github.event_name == 'push' && github.ref == 'refs/heads/master')) && 'clover-alpha-release' || format('build-{0}', github.ref) }} cancel-in-progress: false steps: - uses: actions/checkout@v7 @@ -33,7 +33,7 @@ jobs: - name: Manage Version run: | git fetch --tags --force --no-recurse-submodules - CUR_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0") + CUR_TAG=$(git describe --tags --exclude 'Clover-Build-Alpha' --abbrev=0 2>/dev/null || echo "v0.0.0") echo "Detected version: $CUR_TAG" echo "CUR_TAG=$CUR_TAG" >> $GITHUB_ENV echo "GIT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV