Skip to content

Commit 3074f4d

Browse files
authored
Merge pull request #30 from linuxserver/jq-fix
replace sed awk with jq
2 parents 82e9e4f + c2b2516 commit 3074f4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN \
2525
/app/raneto && \
2626
if [ -z ${RANETO_RELEASE+x} ]; then \
2727
RANETO_RELEASE=$(curl -sX GET "https://api.github.com/repos/ryanlelek/Raneto/releases/latest" \
28-
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
28+
| jq -r '.tag_name'); \
2929
fi && \
3030
curl -o \
3131
/tmp/raneto-src.tar.gz -L \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN \
2525
/app/raneto && \
2626
if [ -z ${RANETO_RELEASE+x} ]; then \
2727
RANETO_RELEASE=$(curl -sX GET "https://api.github.com/repos/ryanlelek/Raneto/releases/latest" \
28-
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
28+
| jq -r '.tag_name'); \
2929
fi && \
3030
curl -o \
3131
/tmp/raneto-src.tar.gz -L \

0 commit comments

Comments
 (0)