chg: [travis install] shallow clone. fetch tags + commit id

This commit is contained in:
Terrtia 2020-05-05 10:31:16 +02:00
parent 0d3f53ecd4
commit 66a646d0ec
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -109,7 +109,7 @@ $AIL_HOME/doc/generate_modules_data_flow_graph.sh
# init update version # init update version
pushd ${AIL_HOME} pushd ${AIL_HOME}
# shallow clone # shallow clone
git fetch --tags git fetch --all --tags
git describe --abbrev=0 --tags | tr -d '\n' > ${AIL_HOME}/update/current_version git describe --abbrev=0 --tags | tr -d '\n' > ${AIL_HOME}/update/current_version
echo "AIL current version:" echo "AIL current version:"
git describe --abbrev=0 --tags git describe --abbrev=0 --tags