Selaa lähdekoodia

Add git fetch --tags.

scossu 9 kuukautta sitten
vanhempi
commit
62371dcf02
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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: >