fix(patchmon): remove v prefix from pinned version in check_for_gh_release (#12891)

check_for_gh_release expects versions without v prefix (like Immich).
fetch_and_deploy_gh_release keeps v1.4.2 as it maps to the git tag.

Fixes #12884
This commit is contained in:
CanbiZ (MickLesk)
2026-03-15 00:06:19 +01:00
committed by GitHub
parent afb91988bd
commit bbd09b40ff

View File

@@ -37,7 +37,7 @@ function update_script() {
fi
NODE_VERSION="24" setup_nodejs
if check_for_gh_release "PatchMon" "PatchMon/PatchMon" "v1.4.2"; then
if check_for_gh_release "PatchMon" "PatchMon/PatchMon" "1.4.2"; then
msg_info "Stopping Service"
systemctl stop patchmon-server
msg_ok "Stopped Service"