From 0d3f53ecd4a8066a8721c27a0fe219b55ece7b69 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 5 May 2020 10:10:11 +0200 Subject: [PATCH] chg: [travis install] shallow clone. fetch tags --- installing_deps.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installing_deps.sh b/installing_deps.sh index a4786b8e..cca98550 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -108,6 +108,8 @@ $AIL_HOME/doc/generate_modules_data_flow_graph.sh # init update version pushd ${AIL_HOME} +# shallow clone +git fetch --tags git describe --abbrev=0 --tags | tr -d '\n' > ${AIL_HOME}/update/current_version echo "AIL current version:" git describe --abbrev=0 --tags