mirror of
https://github.com/evilhero/mylar
synced 2025-01-03 05:24:43 +00:00
testing version update
This commit is contained in:
parent
1b6c0fc5ef
commit
b6f4744e9a
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ def checkGithub(current_version=None):
|
||||||
|
|
||||||
if mylar.COMMITS_BEHIND >= 1:
|
if mylar.COMMITS_BEHIND >= 1:
|
||||||
logger.info('New version is available. You are %s commits behind' % mylar.COMMITS_BEHIND)
|
logger.info('New version is available. You are %s commits behind' % mylar.COMMITS_BEHIND)
|
||||||
|
if mylar.CONFIG.AUTO_UPDATE is True:
|
||||||
|
mylar.SIGNAL = 'update'
|
||||||
elif mylar.COMMITS_BEHIND == 0:
|
elif mylar.COMMITS_BEHIND == 0:
|
||||||
logger.info('Mylar is up to date')
|
logger.info('Mylar is up to date')
|
||||||
elif mylar.COMMITS_BEHIND == -1:
|
elif mylar.COMMITS_BEHIND == -1:
|
||||||
|
|
Loading…
Reference in a new issue