Skip to content

Commit

Permalink
Updates generic updates script
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Sep 15, 2024
1 parent e38efb6 commit 5309f84
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions depsAllQuickManualUpgrade.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#!/usr/bin/env bash
source pluginUpdatesOne.sh

# shellcheck disable=SC2154
if [ ${#versions[@]} -ne 9 ]; then
echo "Cannot retrieve latest plugin versions. Aborting execution..."
exit 0
fi

# shellcheck disable=SC2154
version_command="${versions[${pluginsArr[0]}]} ${versions[${pluginsArr[1]}]} ${versions[${pluginsArr[2]}]} ${versions[${pluginsArr[3]}]} ${versions[${pluginsArr[4]}]} ${versions[${pluginsArr[5]}]} ${versions[${pluginsArr[6]}]} ${versions[${pluginsArr[7]}]} ${versions[${pluginsArr[8]}]}"
branch_name="update-quick"
remote_name="origin"

#cd ..
#for item in *; do
# if [[ -d "$item" ]]; then
# cd "${item}" || exit
# if [ -f Makefile ]; then
cd ..
for item in *; do
if [[ -d "$item" ]]; then
cd "${item}" || exit
if [ -f Makefile ]; then
if grep -q "^deps-quick-update:" Makefile; then
echo "---*** Quick Update Makefile command found in $item ***---"
if git show-ref --verify --quiet refs/heads/master; then
Expand All @@ -36,9 +42,9 @@ remote_name="origin"
fi
fi
fi
# fi
#
# cd ..
# fi
#done
#cd project-signer || exit
fi

cd ..
fi
done
cd project-signer || exit

0 comments on commit 5309f84

Please sign in to comment.