mirror of
https://github.com/truenas/charts.git
synced 2026-06-14 22:25:57 +08:00
Normalize app version for upgrade strategy
This commit is contained in:
@@ -13,7 +13,7 @@ def newer_mapping(image_tags):
|
||||
|
||||
return {
|
||||
'tags': {key: version},
|
||||
'app_version': version,
|
||||
'app_version': f'v{version}',
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ def newer_mapping(image_tags):
|
||||
|
||||
return {
|
||||
'tags': {key: tags[version]},
|
||||
'app_version': version,
|
||||
'app_version': version.split('T')[0],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user