Exclude lightweight tag, in case they doesn't have the "v" prefix.

This commit is contained in:
AdamN authored and GitHub committed 2025-07-11 07:26:58 +07:00
1 parent 669a33625f
commit e7ba72da4a
1 file changed
+1 -1
+1 -1
View File
@@ -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