push_current_sc_branches.sh: Exclude compound for now

This commit is contained in:
SpiritCroc 2024-10-30 19:46:24 +01:00
parent aa69433842
commit 86812e67e0
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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" "$@"