alternative_package.sh: Patch store description for test releases
Change-Id: Ic81a5753f384c4caa6e4fff21116631c21552f65
This commit is contained in:
parent
f689576fbf
commit
68aab3b6d3
|
@ -80,5 +80,14 @@ sed -i "s|SchildiChat|SchildiChat.$name_add|g" "$build_gradle"
|
||||||
sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$src_dir" -name google-services.json`
|
sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$src_dir" -name google-services.json`
|
||||||
sed -i "s|SchildiChat|SchildiChat.$name_add|g" `find "$fastlane_dir/metadata/android" -name "title.txt"`
|
sed -i "s|SchildiChat|SchildiChat.$name_add|g" `find "$fastlane_dir/metadata/android" -name "title.txt"`
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$package_add" = "testing.foss" ]; then
|
||||||
|
find "$fastlane_dir" -name full_description.txt -exec cp "$fastlane_dir/../fastlane_testing/foss_full_description.txt" '{}' \;
|
||||||
|
find "$fastlane_dir" -name short_description.txt -exec cp "$fastlane_dir/../fastlane_testing/foss_short_description.txt" '{}' \;
|
||||||
|
elif [ "$package_add" = "testing.fcm" ]; then
|
||||||
|
find "$fastlane_dir" -name full_description.txt -exec cp "$fastlane_dir/../fastlane_testing/fcm_full_description.txt" '{}' \;
|
||||||
|
find "$fastlane_dir" -name short_description.txt -exec cp "$fastlane_dir/../fastlane_testing/fcm_short_description.txt" '{}' \;
|
||||||
|
fi
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Switch to alternative $name_add ($package_add)"
|
git commit -m "Switch to alternative $name_add ($package_add)"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
SchildiChat test release, Google variant with proprietary push notifications
|
|
@ -0,0 +1 @@
|
||||||
|
SchildiChat test release, Google variant with proprietary push notifications
|
|
@ -0,0 +1 @@
|
||||||
|
SchildiChat test release, F-Droid variant without proprietary push notifications
|
|
@ -0,0 +1 @@
|
||||||
|
SchildiChat test release, F-Droid variant without proprietary push notifications
|
Loading…
Reference in New Issue