CI: ensure 'git fetch --tags' is executed for all Firmware builds

This commit is contained in:
Beat Küng
2019-07-22 13:46:35 +02:00
parent 05ff7bb731
commit ac5669deb4
3 changed files with 7 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ build_script:
# safe the repopath for switching to it in cygwin bash
- for /f %%i in ('cygpath -u %%CD%%') do set repopath=%%i
# build the make target
- call bash --login -c "cd $repopath && make $PX4_CONFIG"
- call bash --login -c "cd $repopath && git fetch --tags && make $PX4_CONFIG"
# Note: using bash --login is important
# because otherwise certain things (like python; import numpy) do not work