From 8040e093d9a43e3e5d1bcd0e2d023ada68a0dace Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Wed, 19 Oct 2016 07:31:46 +0200 Subject: [PATCH] Working on CI tag/branch pushing, syncing, deployment issue. --- script/build/deploy_archives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/build/deploy_archives.sh b/script/build/deploy_archives.sh index a22818ab2..b4a73727f 100644 --- a/script/build/deploy_archives.sh +++ b/script/build/deploy_archives.sh @@ -2,8 +2,8 @@ set -ex -if ! echo $CI_BUILD_REF_NAME | grep stable-; then - echo 'deploy archives only for stable branches' +if [ "$CI_BUILD_REF_NAME" != "$CI_BUILD_TAG" ]; then + echo 'deploy archives only for tag releases' exit 0 fi