Handle missing az-AZ full description.
This commit is contained in:
parent
d6668cca5f
commit
c12621e89a
|
@ -77,6 +77,15 @@ else
|
||||||
removeFullDes_th=1
|
removeFullDes_th=1
|
||||||
fi
|
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
|
# Run fastlane
|
||||||
echo "Run fastlane to push to the PlaysStore"
|
echo "Run fastlane to push to the PlaysStore"
|
||||||
fastlane deployMeta
|
fastlane deployMeta
|
||||||
|
@ -107,4 +116,8 @@ if [[ ${removeFullDes_th} -eq 1 ]]; then
|
||||||
rm ./fastlane/metadata/android/th/full_description.txt
|
rm ./fastlane/metadata/android/th/full_description.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ${removeFullDes_az} -eq 1 ]]; then
|
||||||
|
rm ./fastlane/metadata/android/az-AZ/full_description.txt
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Success!"
|
echo "Success!"
|
||||||
|
|
Loading…
Reference in New Issue