Skip to content

Commit e535ed6

Browse files
committed
fix missing fw version number
1 parent c58aeee commit e535ed6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/compile.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
runs-on: ${{ matrix.os }}
3131
steps:
3232
- uses: actions/checkout@v2
33+
with:
34+
fetch-depth: 0 # fetch entire history to get version information
3335

3436
- name: Install prerequisites (Debian)
3537
if: startsWith(matrix.os, 'ubuntu-')
@@ -96,6 +98,7 @@ jobs:
9698
echo "CONFIG_DEBUG=${{ matrix.debug }}" >> tup.config
9799
mkdir -p autogen
98100
python ../tools/odrive/version.py --output autogen/version.c
101+
cat autogen/version.c
99102
tup init
100103
tup generate ./tup_build.sh
101104

0 commit comments

Comments
 (0)