diff --git a/frappe/__init__.py b/frappe/__init__.py index 399ea2f21d..0d5f4d8c4f 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -17,7 +17,7 @@ from faker import Faker from .exceptions import * from .utils.jinja import (get_jenv, get_template, render_template, get_email_from_template, get_jloader) -__version__ = '10.1.68' +__version__ = '10.1.69' __title__ = "Frappe Framework" local = Local() diff --git a/frappe/utils/change_log.py b/frappe/utils/change_log.py index 7b3308ca8c..22de21ea93 100644 --- a/frappe/utils/change_log.py +++ b/frappe/utils/change_log.py @@ -138,7 +138,7 @@ def get_app_last_commit_ref(app): def check_for_update(): updates = frappe._dict(major=[], minor=[], patch=[]) - apps = get_versions() + apps = get_versions() for app in apps: app_details = check_release_on_github(app) @@ -146,7 +146,9 @@ def check_for_update(): github_version, org_name = app_details # Get local instance's current version or the app - instance_version = Version(apps[app]['branch_version'].split(' ')[0]) + + branch_version = apps[app]['branch_version'].split(' ')[0] if apps[app].get('branch_version', '') else '' + instance_version = Version(branch_version or apps[app].get('version')) # Compare and popup update message for update_type in updates: if github_version.__dict__[update_type] > instance_version.__dict__[update_type]: