mirror of https://github.com/CIRCL/AIL-framework
fix: [install] travis git unshallow
parent
b7d37e81d4
commit
f71aef9f47
|
@ -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 New Issue