@@ -1848,6 +1848,8 @@ function canAutoupdateApp(app, updateInfo) {
|
||||
// for invalid subscriptions the appstore does not return a dockerImage
|
||||
if (!manifest.dockerImage) return false;
|
||||
|
||||
if (updateInfo.unstable) return false; // only manual update allowed for unstable updates
|
||||
|
||||
if ((semver.major(app.manifest.version) !== 0) && (semver.major(app.manifest.version) !== semver.major(manifest.version))) return false; // major changes are blocking
|
||||
|
||||
if (app.runState === exports.RSTATE_STOPPED) return false; // stopped apps won't run migration scripts and shouldn't be updated
|
||||
|
||||
Reference in New Issue
Block a user