Skip to content

Commit

Permalink
push_current_sc_branches.sh: Exclude compound for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiritCroc committed Oct 30, 2024
1 parent aa69433 commit 86812e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions merge_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion push_current_sc_branches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" "$@"

0 comments on commit 86812e6

Please sign in to comment.