bundles/sshmon: use tag_name instead of human-readable name in check_github_for_new_release

This commit is contained in:
Franzi 2021-01-29 18:04:35 +01:00
parent b3e6063596
commit fa462fbd0f
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -14,7 +14,7 @@ except Exception as e:
print(repr(e))
exit(3)
newest_release = r['name']
newest_release = r['tag_name']
if newest_release != current_version:
print('There is a newer version available: {} (currently installed: {})'.format(newest_release, current_version))