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