From bfe8549fbb4cb9f67e2da1f648efcaff7413e137 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Thu, 19 Nov 2020 11:23:52 -0300 Subject: [PATCH] Properly mark daily builds. --- ports/ci/travis/deploy.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ports/ci/travis/deploy.sh b/ports/ci/travis/deploy.sh index 9cfa473..12cef85 100755 --- a/ports/ci/travis/deploy.sh +++ b/ports/ci/travis/deploy.sh @@ -17,10 +17,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -if [ ! -z "${DAILY_BUILD}" ]; then - export DAILY_BUILD=1 -fi - cd ports/deploy git clone https://github.com/webcamoid/DeployTools.git cd ../.. @@ -32,6 +28,15 @@ cat << EOF > ${DEPLOYSCRIPT} export PATH="\$PWD/.local/bin:\$PATH" export PYTHONPATH="\$PWD/ports/deploy/DeployTools" +EOF + +if [ ! -z "${DAILY_BUILD}" ]; then + cat << EOF >> ${DEPLOYSCRIPT} +export DAILY_BUILD=1 +EOF +fi + +cat << EOF > ${DEPLOYSCRIPT} xvfb-run --auto-servernum python3 ports/deploy/deploy.py EOF