From e535ed630cbf46acaa11868cba6ca8c3e985e57c Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Fri, 3 Sep 2021 17:38:42 +0200 Subject: [PATCH] fix missing fw version number --- .github/workflows/compile.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 9869c9f93..6bd16ecf5 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -30,6 +30,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 # fetch entire history to get version information - name: Install prerequisites (Debian) if: startsWith(matrix.os, 'ubuntu-') @@ -96,6 +98,7 @@ jobs: echo "CONFIG_DEBUG=${{ matrix.debug }}" >> tup.config mkdir -p autogen python ../tools/odrive/version.py --output autogen/version.c + cat autogen/version.c tup init tup generate ./tup_build.sh