mirror of
https://github.com/truenas/charts.git
synced 2026-04-01 18:01:25 +08:00
collabora: fix versioning (#2332)
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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] + '.'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user