From 0370a1261dd3605bd39a5fd83d261c819d357c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20=20Sch=C3=BCller?= Date: Sun, 2 Jan 2022 14:04:35 +0100 Subject: [PATCH] fix: fixed bad video URL --- ci-scripts/validate-play-store-lang.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ci-scripts/validate-play-store-lang.sh b/ci-scripts/validate-play-store-lang.sh index 738dc08..436e16b 100755 --- a/ci-scripts/validate-play-store-lang.sh +++ b/ci-scripts/validate-play-store-lang.sh @@ -57,10 +57,13 @@ for d in fastlane/metadata/android/* ; do fi fi -# if test -f "$d/video.txt"; then -# fcontents=$(cat "$d/video.txt") -# echo -e "$d/video.txt -> ${Blue}$fcontents${Color_Off}" -# fi + if test -f "$d/video.txt"; then + fcontents=$(cat "$d/video.txt") + if [[ "$fcontents" != "https://www.youtube.com/watch?v=lVJs26gE2Ek" ]]; then + exitcode=1 + echo -e "${Blue}$fcontents${Color_Off} --> $d/video.txt - not correct video URL" + fi + fi done exit $exitcode \ No newline at end of file