Add check for release commit hash

This commit is contained in:
JonnyWong16 2021-04-24 08:56:18 -07:00
parent 39ad3f9047
commit 1a48829d23
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -281,6 +281,10 @@ def check_github(scheduler=False, notify=False, use_cache=False):
plexpy.LATEST_RELEASE = release['tag_name']
if plexpy.CONFIG.GIT_BRANCH in ('master', 'beta') and release['target_commitish'] == plexpy.CURRENT_VERSION:
logger.info('Tautulli is up to date')
return plexpy.CURRENT_VERSION
if notify:
plexpy.NOTIFY_QUEUE.put({'notify_action': 'on_plexpyupdate',
'plexpy_download_info': release,