Skip to content

Commit

Permalink
Drop dependency on "jq"
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <[email protected]>
  • Loading branch information
dims committed Jun 20, 2023
1 parent e263400 commit 30e4b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ else
version=$(curl -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/containerd/containerd/releases/latest" \
| jq -r .tag_name \
| ${PYTHON} -c "import sys, json; print(json.load(sys.stdin)['tag_name'])" \
| sed "s:v::g")
else
version=$(set +x; curl -X GET "${HEADERS[@]}" -f --ipv4 --retry 6 --retry-delay 3 --silent --show-error \
Expand Down

0 comments on commit 30e4b6c

Please sign in to comment.