From f6a7eb40007ec9928cddc86725dd08a6dd843e3a Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:29:25 -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 0f13add..1fe5661 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN \ echo "**** install flexget ****" && \ if [ -z ${FLEXGET_VERSION+x} ]; then \ FLEXGET_VERSION=$(curl -s https://api.github.com/repos/flexget/flexget/releases/latest \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ mkdir -p /run/flexget-temp /data && \ mkdir -p /app/flexget && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 6c95e2a..49cdd63 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -39,7 +39,7 @@ RUN \ echo "**** install flexget ****" && \ if [ -z ${FLEXGET_VERSION+x} ]; then \ FLEXGET_VERSION=$(curl -s https://api.github.com/repos/flexget/flexget/releases/latest \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ mkdir -p /run/flexget-temp /data && \ mkdir -p /app/flexget && \