mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
alternative_package.sh: Patch store description for test releases
Change-Id: Ic81a5753f384c4caa6e4fff21116631c21552f65
This commit is contained in:
parent
f689576fbf
commit
68aab3b6d3
5 changed files with 13 additions and 0 deletions
|
@ -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|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 commit -m "Switch to alternative $name_add ($package_add)"
|
||||
|
|
1
fastlane_testing/fcm_full_description.txt
Normal file
1
fastlane_testing/fcm_full_description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SchildiChat test release, Google variant with proprietary push notifications
|
1
fastlane_testing/fcm_short_description.txt
Normal file
1
fastlane_testing/fcm_short_description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SchildiChat test release, Google variant with proprietary push notifications
|
1
fastlane_testing/foss_full_description.txt
Normal file
1
fastlane_testing/foss_full_description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SchildiChat test release, F-Droid variant without proprietary push notifications
|
1
fastlane_testing/foss_short_description.txt
Normal file
1
fastlane_testing/foss_short_description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SchildiChat test release, F-Droid variant without proprietary push notifications
|
Loading…
Reference in a new issue