Skip to content

Commit

Permalink
Update .gitlab-ci.yml file
Browse files Browse the repository at this point in the history
Clean up after completing debugging
  • Loading branch information
Elia committed Feb 22, 2024
1 parent 0fcca29 commit 7bbc8f2
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,43 +197,6 @@ tag_release:
env_tags="$CI_COMMIT_TAG prod"
code_tag="prod"
#adding temporary debug code to find the right condition
echo "START - Debug pipeline condition"
if [ "$is_master" == "true" ]; then
echo "1 is true"
else
echo "1 is false"
fi
if [[ $CI_COMMIT_TAG =~ "dev" ]]; then
echo "2 is true"
else
echo "2 is false"
fi
if [ "$is_master" == "true" ] || [[ $CI_COMMIT_TAG =~ "dev" ]]; then
echo "3 is true"
else
echo "3 is false"
fi
if [ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]; then
echo "4 is true"
else
echo "4 is false"
fi
if [[ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]]; then
echo "5 is true"
else
echo "5 is false"
fi
if [ "$is_master" == "true" ] || [ $CI_COMMIT_TAG =~ "dev" ]; then
echo "6 is true"
else
echo "6 is false"
fi
echo "END - debug pipeline"
if [ "$is_master" == "true" ] || [[ $CI_COMMIT_TAG =~ "dev" ]]; then
if [[ $CI_COMMIT_TAG =~ "dev" ]]; then
Expand Down

0 comments on commit 7bbc8f2

Please sign in to comment.