From fa462fbd0fc8f4afbdb89c62536d8631a969ccbd Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 29 Jan 2021 18:04:35 +0100 Subject: [PATCH] bundles/sshmon: use tag_name instead of human-readable name in check_github_for_new_release --- bundles/sshmon/files/check_github_for_new_release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/sshmon/files/check_github_for_new_release b/bundles/sshmon/files/check_github_for_new_release index 8a7085c..e7cf747 100644 --- a/bundles/sshmon/files/check_github_for_new_release +++ b/bundles/sshmon/files/check_github_for_new_release @@ -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))