From cb842007ea780534a1b0cb961922c5e0441e3c5b Mon Sep 17 00:00:00 2001 From: Sascha Henke Date: Tue, 22 Sep 2026 08:15:30 +0200 Subject: [PATCH] fix(alpine-it-tools): write version file after a successful update (#17421) update_script() compared the upstream tag against /opt/${APP}_version.txt but never wrote it back, so the stored version stayed at whatever the installer wrote. Every subsequent run took the update branch, wiping the web root and re-downloading the full release archive even with no new upstream release. Write the tag after a successful update, matching what the installer already does at install/alpine-it-tools-install.sh:42. Closes #17420 --- ct/alpine-it-tools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/alpine-it-tools.sh b/ct/alpine-it-tools.sh index 4cf347ade..4d54a8c02 100644 --- a/ct/alpine-it-tools.sh +++ b/ct/alpine-it-tools.sh @@ -40,6 +40,7 @@ function update_script() { cp -r /tmp/dist/* /usr/share/nginx/html rm -rf /tmp/dist rm -f it-tools.zip + echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}"