瀏覽代碼

更新 build.yml

allMagic 2 年之前
父節點
當前提交
f223ebfed9
共有 1 個文件被更改,包括 1 次插入 和 4 次删除
  1. 1 4
      .github/workflows/build.yml

+ 1 - 4
.github/workflows/build.yml

@@ -31,10 +31,7 @@ jobs:
       continue-on-error: true
       shell: bash
       run: |
-          Describe=`git describe --tags`
-          if %errorlevel% neq 0 (
-          exit /b 0
-          )
+          Describe=`git describe --tags --always`
           echo "Describe=$Describe" >> $GITHUB_ENV
           exit 0