diff --git a/check_forgejo_upgrade b/check_forgejo_upgrade index 3483d13..dc287a0 100755 --- a/check_forgejo_upgrade +++ b/check_forgejo_upgrade @@ -77,6 +77,9 @@ if not CURRENT: print(EXCEPTION if EXCEPTION else "") sys.exit(3) +CURRENT = CURRENT.replace("+", "-") +logging.debug("Cleaned current version: %s", CURRENT) + LATEST = None try: logging.debug("Get releases RSS feed from %s...", options.url)