Skip to content

Commit

Permalink
one more plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Oct 3, 2024
1 parent 4c7f62b commit 689a1a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pluginUpdatesOne.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pluginsArr[5]="peter-evans/create-pull-request"
pluginsArr[6]="dependabot/fetch-metadata"
pluginsArr[7]="github/codeql-action"
pluginsArr[8]="graalvm/setup-graalvm"
pluginsArr[9]="actions/setup-haskell"

pluginsReplaceArr[${pluginsArr[0]}]=${pluginsArr[0]}
pluginsReplaceArr[${pluginsArr[1]}]=${pluginsArr[1]}
Expand All @@ -30,6 +31,7 @@ pluginsReplaceArr[${pluginsArr[5]}]=${pluginsArr[5]}
pluginsReplaceArr[${pluginsArr[6]}]=${pluginsArr[6]}
pluginsReplaceArr[${pluginsArr[7]}]="github/codeql-action/init github/codeql-action/autobuild github/codeql-action/analyze"
pluginsReplaceArr[${pluginsArr[8]}]=${pluginsArr[8]}
pluginsReplaceArr[${pluginsArr[9]}]=${pluginsArr[9]}

if [ "$#" -eq 9 ]; then
versions[${pluginsArr[0]}]=$1
Expand All @@ -41,6 +43,7 @@ if [ "$#" -eq 9 ]; then
versions[${pluginsArr[6]}]=$7
versions[${pluginsArr[7]}]=$8
versions[${pluginsArr[8]}]=$9
versions[${pluginsArr[9]}]=${10}
for plugin in "${pluginsArr[@]}"; do
tag=$(echo $plugin | awk -F"$separator" '{print $1}')
name=$(echo $plugin | awk -F"$separator" '{print substr($0, index($0,$2))}')
Expand Down

0 comments on commit 689a1a1

Please sign in to comment.