Skip to content

Commit

Permalink
Update .gitlab-ci.yml file
Browse files Browse the repository at this point in the history
Added temp debug conditions
  • Loading branch information
Elia committed Feb 22, 2024
1 parent d126375 commit bc9d608
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,30 @@ tag_release:
env_tags="$CI_COMMIT_TAG prod"
code_tag="prod"
#adding temporary debug code to find the right condition
if [ "$is_master" == "true"]; then
echo "1 is true"
fi
if [[ $CI_COMMIT_TAG =~ "dev" ]]; then
echo "2 is true"
fi
if [ "$is_master" == "true"] || [[ $CI_COMMIT_TAG =~ "dev" ]]; then
echo "3 is true"
fi
if [ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]; then
echo "4 is true"
fi
if [[ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]]; then
echo "5 is true"
fi
if [ "$is_master" == "true"] || [ $CI_COMMIT_TAG =~ "dev" ]; then
echo "6 is true"
fi
if [ "$is_master" == "true"] || [ "$CI_COMMIT_TAG" =~ "dev" ]; then
echo "7 is true"
fi
if [ "$is_master" == "true"] || [[$CI_COMMIT_TAG =~ "dev" ]]; then
if [[ $CI_COMMIT_TAG =~ "dev" ]]; then
Expand Down

0 comments on commit bc9d608

Please sign in to comment.