Skip to content

Commit

Permalink
Merge pull request #495 from natura-cosmeticos/fix/script-build-regre…
Browse files Browse the repository at this point in the history
…ssion-comment-sh

chore(infra): fix script build-regression-comment
  • Loading branch information
vagnerbarbosant committed Apr 11, 2024
2 parents c293429 + a79b552 commit 99cb842
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions scripts/build-regression-comment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,20 @@ An error ocurred uploading the icons regression test image for commit ${GITHUB_S
printf "$MESSAGE"
}

# case $IMG_URL in
# "upload_error") ERROR_MESSAGE ;;
# "no_diff") NO_DIFF_MESSAGE ;;
# *) DIFF_MESSAGE ;;
# esac

case $IMG_URL in
"upload_error") ERROR_MESSAGE ;;
"no_diff") NO_DIFF_MESSAGE ;;
*) DIFF_MESSAGE ;;
"upload_error")
ERROR_MESSAGE
;;
"no_diff")
NO_DIFF_MESSAGE
;;
*)
DIFF_MESSAGE
;;
esac

0 comments on commit 99cb842

Please sign in to comment.