summaryrefslogtreecommitdiffstats
path: root/scripts/linux/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/linux/before_install.sh')
-rw-r--r--scripts/linux/before_install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/linux/before_install.sh b/scripts/linux/before_install.sh
index c9dc2dd75..9f780b149 100644
--- a/scripts/linux/before_install.sh
+++ b/scripts/linux/before_install.sh
@@ -8,6 +8,12 @@
set -x
+# Travis only pulls shallow repos. But that messes with git describe.
+# Sorry Travis, fetching the whole thing and the tags as well...
+git fetch --unshallow
+git pull --tags
+git describe
+
export QT_ROOT=$PWD/Qt/5.9.3
rm -rf Qt
mkdir -p $QT_ROOT