diff --git a/Dockerfile b/Dockerfile index 793e88d..bfaa8a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN \ make check && \ make install && \ echo "**** Patch Sab commit into version.py ****" && \ - SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/matching-refs/tags/${SABNZBD_VERSION}" | jq -r '.[].object.sha') && \ + SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/ref/tags/${SABNZBD_VERSION}" | jq -r '.object.sha') && \ sed -i "s/__baseline__ .*/__baseline__ = \"${SAB_COMMIT_SHA}\"/" /app/sabnzbd/sabnzbd/version.py && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index b7ec933..21b23e3 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -64,7 +64,7 @@ RUN \ make check && \ make install && \ echo "**** Patch Sab commit into version.py ****" && \ - SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/matching-refs/tags/${SABNZBD_VERSION}" | jq -r '.[].object.sha') && \ + SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/ref/tags/${SABNZBD_VERSION}" | jq -r '.object.sha') && \ sed -i "s/__baseline__ .*/__baseline__ = \"${SAB_COMMIT_SHA}\"/" /app/sabnzbd/sabnzbd/version.py && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.riscv64 b/Dockerfile.riscv64 index 10bff82..bb7d30e 100644 --- a/Dockerfile.riscv64 +++ b/Dockerfile.riscv64 @@ -64,7 +64,7 @@ RUN \ make check && \ make install && \ echo "**** Patch Sab commit into version.py ****" && \ - SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/matching-refs/tags/${SABNZBD_VERSION}" | jq -r '.[].object.sha') && \ + SAB_COMMIT_SHA=$(curl -s "https://api.github.com/repos/sabnzbd/sabnzbd/git/ref/tags/${SABNZBD_VERSION}" | jq -r '.object.sha') && \ sed -i "s/__baseline__ .*/__baseline__ = \"${SAB_COMMIT_SHA}\"/" /app/sabnzbd/sabnzbd/version.py && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \