Handle missing az-AZ full description.

This commit is contained in:
Benoit Marty 2023-01-25 12:26:44 +01:00 committed by Benoit Marty
parent d6668cca5f
commit c12621e89a

View File

@ -77,6 +77,15 @@ else
removeFullDes_th=1
fi
if [[ -f "./fastlane/metadata/android/az-AZ/full_description.txt" ]]; then
echo "It appears that file ./fastlane/metadata/android/az-AZ/full_description.txt now exists. This can be removed."
removeFullDes_az=0
else
echo "Copy default full description to ./fastlane/metadata/android/az-AZ"
cp ./fastlane/metadata/android/en-US/full_description.txt ./fastlane/metadata/android/az-AZ
removeFullDes_az=1
fi
# Run fastlane
echo "Run fastlane to push to the PlaysStore"
fastlane deployMeta
@ -107,4 +116,8 @@ if [[ ${removeFullDes_th} -eq 1 ]]; then
rm ./fastlane/metadata/android/th/full_description.txt
fi
if [[ ${removeFullDes_az} -eq 1 ]]; then
rm ./fastlane/metadata/android/az-AZ/full_description.txt
fi
echo "Success!"