diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe169004..7c64e2dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -196,7 +196,7 @@ tag_release: env_tags="$CI_COMMIT_TAG prod" code_tag="prod" - if [ "$is_master" == "true" ]; then + if [ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]; then if [[ $CI_COMMIT_TAG =~ "dev" ]]; then env_tags="$CI_COMMIT_TAG tds" @@ -294,7 +294,7 @@ tag_release: done else - echo "The tag does not belong to master the branch"; + echo "The prod tag does not belong to master the branch"; exit 1 fi