mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
fix: [install] travis git unshallow
This commit is contained in:
parent
b7d37e81d4
commit
f71aef9f47
1 changed files with 4 additions and 1 deletions
|
@ -118,7 +118,10 @@ $AIL_HOME/doc/generate_modules_data_flow_graph.sh
|
|||
pushd ${AIL_HOME}
|
||||
# shallow clone
|
||||
git fetch --depth=500 --tags --prune
|
||||
if [ ! -z "$TRAVIS" ]; then
|
||||
echo "Travis detected"
|
||||
git fetch --unshallow
|
||||
fi
|
||||
git describe --abbrev=0 --tags | tr -d '\n' > ${AIL_HOME}/update/current_version
|
||||
echo "AIL current version:"
|
||||
git describe --abbrev=0 --tags
|
||||
|
|
Loading…
Reference in a new issue