We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9553664 commit 6b5e125Copy full SHA for 6b5e125
.github/workflows/check-odo.yml
@@ -31,7 +31,7 @@ jobs:
31
old_url=`jq -r .odo.platform.${platform}.url src/tools.json`
32
new_url=`echo ${old_url} | sed "s|${{ env.REPO_ODO_VERSION }}|${{ env.LATEST_TOOL_RELEASE }}|"`
33
checksum=`curl -s ${new_url}.sha256`
34
- jq --indent 4 ".odo.platform.${platform}.url = \"${new_url}\"" src/tools.json | jq --indent 4 ".odo.platform.${platform}.sha256sum = \"${checksum}\"" > src/tools.json.new
+ jq --indent 4 ".odo.platform.[\"${platform}\"].url = \"${new_url}\"" src/tools.json | jq --indent 4 ".odo.platform.[\"${platform}\"].sha256sum = \"${checksum}\"" > src/tools.json.new
35
mv src/tools.json.new src/tools.json
36
done
37
- name: Create pull request
0 commit comments