From 01d7076193dda1880be761b06db3e8d3f74f00d6 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:47:00 -0400 Subject: [PATCH] update github api parsing to use jq --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 100d52d..3221ab4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN \ apt-get update && \ if [ -z ${HELIUM_VERSION+x} ]; then \ HELIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/imputnet/helium-linux/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/helium.deb -L \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index f41b4d7..03cda9f 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -24,7 +24,7 @@ RUN \ apt-get update && \ if [ -z ${HELIUM_VERSION+x} ]; then \ HELIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/imputnet/helium-linux/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/helium.deb -L \