chg: [travis install] shallow clone. fetch tags

pull/497/head
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
1 changed files with 2 additions and 0 deletions

View File

@ -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