From b3c0874e922f94dcc6dcca30bed6a28c381e627b Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:19:24 -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 406e03f..e393ade 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN \ echo "**** install from ferdium from deb ****" && \ if [ -z ${FERDIUM_VERSION+x} ]; then \ FERDIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/ferdium/ferdium-app/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ cd /tmp && \ curl -o \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 5fa6f05..6e8a6c8 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -31,7 +31,7 @@ RUN \ echo "**** install from ferdium from deb ****" && \ if [ -z ${FERDIUM_VERSION+x} ]; then \ FERDIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/ferdium/ferdium-app/releases/latest" \ - | awk '/tag_name/{print $4;exit}' FS='[""]'); \ + | jq -r '.tag_name'); \ fi && \ cd /tmp && \ curl -o \