Skip to content

Commit

Permalink
One plugin update fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Jun 19, 2024
1 parent 0ab2f17 commit 71e3873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pluginUpdatesOne.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ for plugin in "${pluginsArr[@]}"; do
echo "Performing GET request to $versionUrl"
result=$(curl -s $versionUrl)
echo "$result"
version=$( echo $result | jq -r '.[0].name' | cut -d '.' -f1)
version=$( echo "$result" | jq -r '.[0].name' | cut -d '.' -f1)
arr["$tag\/$name@v[0-9]*"]="$tag\/$name@$version"
echo "Will replace $tag\/$name@v[0-9]* with $tag\/$name@$version"
done

echo -e "GitHub Workflow Updates"
Expand Down

0 comments on commit 71e3873

Please sign in to comment.