collabora: fix versioning (#2332)

This commit is contained in:
Stavros Kois
2024-04-03 15:43:15 +03:00
committed by GitHub
parent 92bf1baec6
commit 2ee1bbd2b7
2 changed files with 5 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ description: Collabora is a collaborative online office suite based on LibreOffi
annotations:
title: Collabora
type: application
version: 2.0.9
version: 2.0.10
apiVersion: v2
appVersion: 23.05.9.4.1
kubeVersion: '>=1.16.0-0'

View File

@@ -39,6 +39,10 @@ def newer_mapping(image_tags):
if idx in [0, 1]:
cleanVersion += part + '.'
continue
if idx == 2:
# Preserve the trailing zero on third part, but trim the leading zero
cleanVersion += part.lstrip('0') + '.'
continue
if len(part) == 2 and part[0] == '0':
cleanVersion += part[1] + '.'