diff --git a/check_forgejo_upgrade b/check_forgejo_upgrade index ceb5db6..65a4c41 100755 --- a/check_forgejo_upgrade +++ b/check_forgejo_upgrade @@ -74,6 +74,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)