From 93ba6e3db29c9bc179836316d974a2d9d3ce4104 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:08:07 -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 d7a1202d..98540fcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN \ /app/bazarr/bin && \ if [ -z ${BAZARR_VERSION+x} ]; then \ BAZARR_VERSION=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/bazarr.zip -L \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 7f1a776e..54bef215 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -35,7 +35,7 @@ RUN \ /app/bazarr/bin && \ if [ -z ${BAZARR_VERSION+x} ]; then \ BAZARR_VERSION=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ curl -o \ /tmp/bazarr.zip -L \