SchildiChat-android/pre_merge.sh
SpiritCroc 715eefe184 [merge] Update merge helpers for moved resources
Change-Id: I09de3d8c78e69386fe6020e8d1aa0f4d1b7aa9b6
2022-09-10 15:36:20 +02:00

21 lines
530 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/library/ui-strings/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"