更新 build.yml

This commit is contained in:
allMagic
2024-06-15 18:24:29 +08:00
committed by GitHub
parent 1b186dc6ae
commit f223ebfed9
+1 -4
View File
@@ -31,10 +31,7 @@ jobs:
continue-on-error: true continue-on-error: true
shell: bash shell: bash
run: | run: |
Describe=`git describe --tags` Describe=`git describe --tags --always`
if %errorlevel% neq 0 (
exit /b 0
)
echo "Describe=$Describe" >> $GITHUB_ENV echo "Describe=$Describe" >> $GITHUB_ENV
exit 0 exit 0