Correct abi-check.sh for PR (#791)
authorMatthieu Darbois <mayeut@users.noreply.github.com>
Fri, 24 Jun 2016 23:09:42 +0000 (01:09 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2016 23:09:42 +0000 (01:09 +0200)
tools/travis-ci/abi-check.sh

index 538ae57fdb9a815ae8a3a2aaf998c75b53896a1c..13d0ff50147c3347a0d2f2352ed1bfdf4cee2f29 100755 (executable)
@@ -59,12 +59,10 @@ export PATH=${PWD}/tools/abi-tracker/bin:$PATH
 mkdir work
 cd work
 
-# If upload is scheduled, clone the gh-pages branch and work from there
-if [ ${OPJ_UPLOAD_ABI_REPORT} -eq 1 ]; then
-       git clone -b $OPJ_UPLOAD_BRANCH --single-branch $OPJ_REPO .
-       cd $OPJ_UPLOAD_DIR
-       rm -rf installed/openjpeg/current/*
-fi
+# Clone the gh-pages branch and work from there
+git clone -b $OPJ_UPLOAD_BRANCH --single-branch $OPJ_REPO .
+cd $OPJ_UPLOAD_DIR
+rm -rf installed/openjpeg/current/*
 
 # Let's create all we need
 grep -v Git ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json