bundles/sshmon: use tag_name instead of human-readable name in check_github_for_new_release
This commit is contained in:
parent
b3e6063596
commit
fa462fbd0f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ except Exception as e:
|
||||||
print(repr(e))
|
print(repr(e))
|
||||||
exit(3)
|
exit(3)
|
||||||
|
|
||||||
newest_release = r['name']
|
newest_release = r['tag_name']
|
||||||
|
|
||||||
if newest_release != current_version:
|
if newest_release != current_version:
|
||||||
print('There is a newer version available: {} (currently installed: {})'.format(newest_release, current_version))
|
print('There is a newer version available: {} (currently installed: {})'.format(newest_release, current_version))
|
||||||
|
|
Loading…
Reference in a new issue