mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-03 06:46:24 -04:00
use jq instead of awk
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ RUN \
|
||||
/root-layer && \
|
||||
if [[ -z "${MOD_VERSION}" ]]; then \
|
||||
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/kovidgoyal/calibre/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
| jq -r '.tag_name'); \
|
||||
fi && \
|
||||
echo $MOD_VERSION > /root-layer/CALIBRE_RELEASE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user