Skip to content

Commit

Permalink
Merge pull request #2066 from CatimaLoyalty/fix/generateFeatureGraphi…
Browse files Browse the repository at this point in the history
…csNoTxt

Fix feature graphic generation failing for languages without title.txt
  • Loading branch information
TheLastProject authored Sep 3, 2024
2 parents d924c29 + aab416e commit cc7fe90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .scripts/generate_feature_graphic/generate_feature_graphic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -euo pipefail
script_location="$(dirname "$(readlink -f "$0")")"

for lang in "$script_location/../../fastlane/metadata/android/"*; do
# Skip languages without title.txt
if [ ! -f "$lang/title.txt" ]; then
continue
fi

pushd "$lang"
# Place temporary copy for editing if needed
cp "$script_location/featureGraphic.svg" featureGraphic.svg
Expand Down

0 comments on commit cc7fe90

Please sign in to comment.