diff --git a/frontend-modern/src/stores/updates.ts b/frontend-modern/src/stores/updates.ts index 963c54b7c..fc681de8b 100644 --- a/frontend-modern/src/stores/updates.ts +++ b/frontend-modern/src/stores/updates.ts @@ -77,6 +77,14 @@ const checkForUpdates = async (force = false): Promise => { setUpdateAvailable(false); return; } + + // Skip dev builds unless forcing (contains -dirty or commit hash after version) + const isDirtyBuild = version.version.includes('-dirty') || + /v\d+\.\d+\.\d+.*-g[0-9a-f]+/.test(version.version); + if (isDirtyBuild && !force) { + setUpdateAvailable(false); + return; + } // Get the saved update channel from system settings const info = await UpdatesAPI.checkForUpdates();