Normalize app version for upgrade strategy

This commit is contained in:
sonicaj
2021-06-28 04:20:56 +05:00
parent 8e1f2a3f3f
commit 3c07b0011d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ def newer_mapping(image_tags):
return {
'tags': {key: version},
'app_version': version,
'app_version': f'v{version}',
}

View File

@@ -14,7 +14,7 @@ def newer_mapping(image_tags):
return {
'tags': {key: tags[version]},
'app_version': version,
'app_version': version.split('T')[0],
}