mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
pre_merge.sh: Better upstream string change revert
Change-Id: Iff217eea5b115f244bfa6e34faf35f430f638a7d
This commit is contained in:
parent
da6547cedd
commit
ac57b10968
2 changed files with 5 additions and 3 deletions
|
@ -40,10 +40,11 @@ restore_sc .github
|
|||
git add -A
|
||||
git commit -m "Automatic upstream merge postprocessing"
|
||||
|
||||
revert_last 'Automatic revert to unchanged upstream strings, pt.1' || \
|
||||
read -p "Please resolve conflicts and commit, then press enter"
|
||||
|
||||
"$mydir"/correct_strings.sh
|
||||
|
||||
revert_last 'Revert "Resolve required manual intervention in german strings"'
|
||||
|
||||
while grep -q "wolpertinger\|schlumpfwesen" "$mydir/vector/src/main/res/values-de/strings.xml"; do
|
||||
read -p "Please resolve remaining language, then press enter!"
|
||||
|
|
|
@ -20,8 +20,9 @@ restore_upstream() {
|
|||
fi
|
||||
}
|
||||
|
||||
revert_last 'Resolve required manual intervention in german strings'
|
||||
revert_last 'Automatic SchildiChat string correction'
|
||||
# Revert Schildi's upstream string changes
|
||||
git checkout `upstream_previous_tag` -- `find "$mydir/vector/src/main/res" -name strings.xml`
|
||||
git commit -m "Automatic revert to unchanged upstream strings, pt.1"
|
||||
|
||||
# Keep in sync with post_merge.sh!
|
||||
restore_upstream .github
|
||||
|
|
Loading…
Reference in a new issue