Browse Source

contrib/gitlab: fail when no dist file is available

Nathalie Furmento 4 years ago
parent
commit
ba38e95fb0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      contrib/gitlab/build.sh

+ 10 - 0
contrib/gitlab/build.sh

@@ -17,5 +17,15 @@
 
 ./contrib/ci.inria.fr/job-0-tarball.sh
 
+tarball=$(ls -tr starpu-*.tar.gz | tail -1)
+
+if test -z "$tarball"
+then
+    echo Error. No tar.gz file
+    ls
+    pwd
+    exit 1
+fi
+