Skip to content

Commit

Permalink
feat: update sh (#191)
Browse files Browse the repository at this point in the history
Signed-off-by: donniean <[email protected]>
  • Loading branch information
donniean authored Jan 12, 2024
1 parent f6115a3 commit 7376ff1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions scripts/git-deps-upgrade-pr.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pr() {
echo "\n"
echo "upgrading $1"
echo ""
cd ~/Workspaces/"$1" || exit
Expand All @@ -21,7 +20,9 @@ names=(
)

for name in "${names[@]}"; do
pr "$name"
pr "$name" &
done

wait

cd ~/Workspaces/collections || exit
5 changes: 2 additions & 3 deletions scripts/git-update.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
update() {
echo "\n"
echo "cd ~/Workspaces/$1 && git checkout main && git pull --all --prune"
echo ""
cd ~/Workspaces/"$1" && git checkout main && git pull --all --prune
Expand All @@ -14,9 +15,7 @@ names=(
)

for name in "${names[@]}"; do
update "$name" &
update "$name"
done

wait

cd ~/Workspaces/collections || exit

0 comments on commit 7376ff1

Please sign in to comment.