Ver código fonte

Add git fetch --tags.

scossu 9 meses atrás
pai
commit
62371dcf02
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      .github/workflows/push-test-image.yml

+ 2 - 0
.github/workflows/push-test-image.yml

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