From 9e11398e21981f7a1899eecf993a308d927fab84 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 9 May 2020 21:10:58 +0200 Subject: Add DEPLOY switch to CI script --- .travis-ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis-ci.sh b/.travis-ci.sh index 8d5d42d..c72070e 100644 --- a/.travis-ci.sh +++ b/.travis-ci.sh @@ -73,7 +73,7 @@ elif [ "$TASK" = "windows" ]; then fi make -C backends lua.dll travis_fold end "make_windows" - if [ "$(git describe)" == "$(git describe --abbrev=0)" ]; then + if [ "$(git describe)" == "$(git describe --abbrev=0)" ] || [ -n "$DEPLOY" ]; then travis_fold start "deploy_windows" mkdir ./deployment mkdir ./deployment/backends @@ -98,7 +98,7 @@ else exit "$?" fi travis_fold end "make" - if [ "$(git describe)" == "$(git describe --abbrev=0)" ]; then + if [ "$(git describe)" == "$(git describe --abbrev=0)" ] || [ -n "$DEPLOY" ]; then travis_fold start "deploy_unix" mkdir ./deployment mkdir ./deployment/backends -- cgit v1.2.3