mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add check for release commit hash
This commit is contained in:
parent
39ad3f9047
commit
1a48829d23
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue