浏览代码

Add --always.

scossu 9 月之前
父节点
当前提交
d7fad2ef17
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/push-test-image.yml

+ 1 - 1
.github/workflows/push-test-image.yml

@@ -21,7 +21,7 @@ jobs:
       - name: update version info
         run: |
           git fetch --tags
-          git describe --tags >| VERSION
+          git describe --tags --always >| VERSION
           git rev-parse HEAD >> VERSION
 
       - name: Build the Docker image