Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jul 17, 2024
1 parent f4396bc commit 2f7cfdf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/image-deps-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ jobs:
run: |
set -euo pipefail
matrix=${{ fromJSON(needs.get-versions.outputs.matrix) }}
echo "$matrix" | jq -c '.include[]' | while read -r component; do
makefile_var=$(echo "$component" | jq -r '.makefile_var')
components=$(echo ${{ needs.get-versions.outputs.matrix }} | jq -r '.include[].component')
for component in $components; do
version=$(echo "$component" | jq -r '.version')
sed -i "s/^$makefile_var.*/$makefile_var = $version/" Makefile
makefile_var=$(echo "$component" | jq -r '.makefile_var')
sed -i "s/^$makefile_var = .*/$makefile_var = $version/" Makefile
done
- name: Create Pull Request # creates a PR if there are differences
Expand Down

0 comments on commit 2f7cfdf

Please sign in to comment.