From d1a22df52283e8e548aba565f2ebaaf745dd9024 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov <rdimitrow@gmail.com> Date: Wed, 3 Oct 2018 22:01:30 +0000 Subject: [PATCH] ARMHF publishing script - remove jq dependency Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com> --- contrib/publish-armhf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/publish-armhf.sh b/contrib/publish-armhf.sh index 6a78f9ab..aeb8e08a 100755 --- a/contrib/publish-armhf.sh +++ b/contrib/publish-armhf.sh @@ -35,7 +35,7 @@ do echo "Latest release: $TAG" REPOSITORY=$(get_repo_name $i) - TAG_PRESENT=$(curl -s "https://hub.docker.com/v2/repositories/${REPOSITORY}/tags/${TAG}-armhf/" | jq -r ".detail") + TAG_PRESENT=$(curl -s "https://hub.docker.com/v2/repositories/${REPOSITORY}/tags/${TAG}-armhf/" | grep -Po '"detail": *"[^"]*"' | grep -o 'Not found') if [ "$TAG_PRESENT" = "Not found" ]; then make ci-armhf-build ci-armhf-push -- GitLab