Skip to content

Commit c12621e

Browse files
committed
Handle missing az-AZ full description.
1 parent d6668cc commit c12621e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tools/release/pushPlayStoreMetaData.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ else
7777
removeFullDes_th=1
7878
fi
7979

80+
if [[ -f "./fastlane/metadata/android/az-AZ/full_description.txt" ]]; then
81+
echo "It appears that file ./fastlane/metadata/android/az-AZ/full_description.txt now exists. This can be removed."
82+
removeFullDes_az=0
83+
else
84+
echo "Copy default full description to ./fastlane/metadata/android/az-AZ"
85+
cp ./fastlane/metadata/android/en-US/full_description.txt ./fastlane/metadata/android/az-AZ
86+
removeFullDes_az=1
87+
fi
88+
8089
# Run fastlane
8190
echo "Run fastlane to push to the PlaysStore"
8291
fastlane deployMeta
@@ -107,4 +116,8 @@ if [[ ${removeFullDes_th} -eq 1 ]]; then
107116
rm ./fastlane/metadata/android/th/full_description.txt
108117
fi
109118

119+
if [[ ${removeFullDes_az} -eq 1 ]]; then
120+
rm ./fastlane/metadata/android/az-AZ/full_description.txt
121+
fi
122+
110123
echo "Success!"

0 commit comments

Comments
 (0)