Clean detected current version: replace + sign by -
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2023-07-26 00:38:40 +02:00
parent 30f392c18c
commit 868ee28677

View file

@ -77,6 +77,9 @@ if not CURRENT:
print(EXCEPTION if EXCEPTION else "") print(EXCEPTION if EXCEPTION else "")
sys.exit(3) sys.exit(3)
CURRENT = CURRENT.replace("+", "-")
logging.debug("Cleaned current version: %s", CURRENT)
LATEST = None LATEST = None
try: try:
logging.debug("Get releases RSS feed from %s...", options.url) logging.debug("Get releases RSS feed from %s...", options.url)