From e7ba72da4a0adc964789467ccddfb472ae40d483 Mon Sep 17 00:00:00 2001 From: AdamN <7974720+anr2me@users.noreply.github.com> Date: Fri, 11 Jul 2025 07:26:58 +0700 Subject: [PATCH] Exclude lightweight tag, in case they doesn't have the "v" prefix. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88a58861c7..bc3c3a6225 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: - name: Create git-version.cpp for Windows # Not sure why the one at git-version-gen.cmd couldn't get the version properly. #if: github.ref_type == 'tag' run: | - $GIT_VERSION=git describe --always --tags + $GIT_VERSION=git describe --always echo "Num of Valid Tags = ${{ steps.valid-tags.outputs.count }}" echo "Test GitVer = ${{ github.ref_name }} / $GIT_VERSION / ${GITHUB_REF_NAME}" echo "const char *PPSSPP_GIT_VERSION = `"$GIT_VERSION`";" > git-version.cpp