Skip to content

Commit 641c9a8

Browse files
committed
More echo in screenshot diff
1 parent 3edf5a5 commit 641c9a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

screenShotCompare.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ case $OS in
2929
*) ;;
3030
esac
3131

32-
echo "delete all old comments, starting with Screenshot differs:$emulatorApi"
32+
echo "=> delete all old comments, starting with Screenshot differs:$emulatorApi"
3333
oldComments=$(curl_gh -X GET https://api.github.com/repos/"$GITHUB_REPOSITORY"/issues/"$PR"/comments | jq '.[] | (.id |tostring) + "|" + (.user.login | test("github-actions") | tostring) + "|" + (.body | test("Screenshot differs:'$emulatorApi'.*") | tostring)' | grep "true|true" | tr -d "\"" | cut -f1 -d"|")
3434
echo "comments=$comments"
3535
echo "$oldComments" | while read comment; do
@@ -38,11 +38,12 @@ echo "$oldComments" | while read comment; do
3838
done
3939

4040
pushd $diffFiles
41+
pwd
4142
body=""
4243
COUNTER=0
4344
ls -la
4445

45-
# ignore an error, when no files where found https://unix.stackexchange.com/a/723909/201876
46+
echo "=> ignore an error, when no files where found https://unix.stackexchange.com/a/723909/201876"
4647
setopt no_nomatch
4748
for f in *.png; do
4849
if [[ ${f} == "*.png" ]]

0 commit comments

Comments
 (0)