SchildiChat-android/pre_merge.sh
SpiritCroc f57dd91035 merge_helpers.sh: depend less on upstream tags
Change-Id: Ic79931eba7d501e4f76e5dd069921f9f3486f86c
2022-09-07 19:46:33 +02:00

21 lines
518 B
Bash
Executable file

#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
source "$mydir/merge_helpers.sh"
# Require clean git state
require_clean_git
# Revert Schildi's upstream string changes
git checkout `upstream_common_base` -- "$mydir/vector/src/main/res/**/strings.xml"
git commit -m "Automatic revert to unchanged upstream strings, pt.1"
# Keep in sync with post_merge.sh!
restore_upstream .github
restore_upstream fastlane
restore_upstream README.md
git add -A
git commit -m "[TMP] Automatic upstream merge preparation"