chg: [travis install] shallow clone. fetch tags

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

View file

@ -108,6 +108,8 @@ $AIL_HOME/doc/generate_modules_data_flow_graph.sh
# init update version # init update version
pushd ${AIL_HOME} pushd ${AIL_HOME}
# shallow clone
git fetch --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