fix: [travis] fetch git last tag

This commit is contained in:
Terrtia 2020-07-24 10:09:55 +02:00
parent 7607cd7427
commit 0b44ae86cd
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -113,7 +113,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 --prune --depth=10000 git fetch --depth=500 --tags --prune
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