From 86812e67e0edd6beeecef8ed30ed5b18e3e21489 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 30 Oct 2024 19:46:24 +0100 Subject: [PATCH] push_current_sc_branches.sh: Exclude compound for now --- merge_helpers.sh | 8 ++++++++ push_current_sc_branches.sh | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/merge_helpers.sh b/merge_helpers.sh index ed479653..c6909ada 100755 --- a/merge_helpers.sh +++ b/merge_helpers.sh @@ -49,6 +49,14 @@ forelement_repos() { done } +for_main_repos() { + for repo in "matrix-js-sdk" "element-web" "element-desktop"; do + pushd "$SCHILDI_ROOT/$repo" > /dev/null + "$@" + popd > /dev/null + done +} + ensure_yes() { read -e -p "$1 [y/N] " choice diff --git a/push_current_sc_branches.sh b/push_current_sc_branches.sh index f7c7ec6e..86c8d94f 100755 --- a/push_current_sc_branches.sh +++ b/push_current_sc_branches.sh @@ -35,4 +35,4 @@ fi branch="$b_js" echo "Pushing to all repos: $branch" -forall_repos git push --set-upstream origin "$branch" "$@" +for_main_repos git push --set-upstream origin "$branch" "$@"