Working on CI tag/branch pushing, syncing, deployment issue.

This commit is contained in:
Thorsten Eckel 2016-10-19 07:31:46 +02:00
parent a53a6fccee
commit 8040e093d9

View file

@ -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