From 5afa404b7f9747e18b24d0d0e1e739a1b2dfd225 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 25 Jul 2019 12:22:41 +0100 Subject: [PATCH] appveyor: fix PX4 version format check by removing shallow clone such that we can infer the version from the last tag --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 93f392e9a3..1081c032e2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,6 @@ # Build version version: "{build}" -# shallow clone the main repo -clone_depth: 1 +# do not shallow clone because we want to infer the version from the last tag branches: only: @@ -36,7 +35,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 && git fetch --tags && make $PX4_CONFIG" +- call bash --login -c "cd $repopath && make $PX4_CONFIG" # Note: using bash --login is important # because otherwise certain things (like python; import numpy) do not work