From f71aef9f47cce977b7a485156ddfb2b0c4471796 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 20 Aug 2020 13:24:14 +0200 Subject: [PATCH] fix: [install] travis git unshallow --- installing_deps.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installing_deps.sh b/installing_deps.sh index 839527c9..ff2df4c6 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -118,7 +118,10 @@ $AIL_HOME/doc/generate_modules_data_flow_graph.sh pushd ${AIL_HOME} # shallow clone git fetch --depth=500 --tags --prune -git fetch --unshallow +if [ ! -z "$TRAVIS" ]; then + echo "Travis detected" + git fetch --unshallow +fi git describe --abbrev=0 --tags | tr -d '\n' > ${AIL_HOME}/update/current_version echo "AIL current version:" git describe --abbrev=0 --tags