From 29439cca1b14ef799a1588ad2a8090298bb969ca Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Wed, 21 Sep 2022 22:24:40 +0200 Subject: [PATCH] fix k8s version check --- deployment/k8s/charts/Chart.yaml | 2 +- setup.cfg | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/deployment/k8s/charts/Chart.yaml b/deployment/k8s/charts/Chart.yaml index aec2445f6..5fea3f91a 100644 --- a/deployment/k8s/charts/Chart.yaml +++ b/deployment/k8s/charts/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: 0.7.0 +appVersion: 0.7.1 description: A dynamic Web Map tile server name: titiler version: 1.0.0 diff --git a/setup.cfg b/setup.cfg index 0cc755a4a..87ac219c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,10 +3,10 @@ current_version = 0.7.1 commit = True tag = True tag_name = {new_version} -parse = +parse = (?P\d+)\.(?P\d+)\.(?P\d+) ((?P
a|b|rc)(?P\d+))?
-serialize = 
+serialize =
 	{major}.{minor}.{patch}{pre}{prenum}
 	{major}.{minor}.{patch}
 
@@ -30,6 +30,10 @@ replace = __version__ = "{new_version}"
 search = titiler.application=={current_version}
 replace = titiler.application=={new_version}
 
+[bumpversion:file:deployment/k8s/charts/Chart.yml]
+search = appVersion: {current_version}
+replace = appVersion: {new_version}
+
 [isort]
 profile = black
 known_first_party = titiler