Skip to content

Commit a92a6e0

Browse files
committed
fix(script): Handle empty appVersion
1 parent 7f9e012 commit a92a6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.scripts/update_helm_charts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_chart_and_app_version(repo_name: str, chart_name: str) -> Tuple[str, str
2929
check=True,
3030
)
3131
chart_yaml = yaml.safe_load(result.stdout)
32-
return chart_yaml["version"], chart_yaml["appVersion"]
32+
return chart_yaml["version"], chart_yaml.setdefault("appVersion", "Not present")
3333

3434

3535
def process_yaml_files(top_dir: str) -> None:

0 commit comments

Comments
 (0)