From 47bea7311722e0d665aaed32fec5c117afe9b7f2 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 23 Jun 2017 12:34:52 +0200
Subject: [PATCH] Use new environment variable names from CI

---
 gitlab/before_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitlab/before_build.sh b/gitlab/before_build.sh
index 22e8b1e..54520c3 100755
--- a/gitlab/before_build.sh
+++ b/gitlab/before_build.sh
@@ -37,7 +37,7 @@ fi
 
 # When building a tag, do not use beta wheels
 PIPOPTS="${PIPOPTS} --use-wheel --no-index"
-if [ -z "${CI_BUILD_TAG}" ]; then
+if [ -z "${CI_COMMIT_TAG}" ]; then
   PIPOPTS="${PIPOPTS} --pre"
 fi
 
-- 
GitLab