Skip to content

Commit

Permalink
fix: fix not update helm #3
Browse files Browse the repository at this point in the history
  • Loading branch information
alvsanand committed Jan 19, 2025
1 parent 138d3bd commit 358f54b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions update_versions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,6 @@ def _update_helm(versions: Dict[str, Any], version_type: str) -> bool:
helm_chart_repository = versions.get(HELM_CHART_REPOSITORY_ATTRIBURE, {})

changed = False

logging.info(
"Updating charts[helm_chart_versions=%s,helm_chart_repository=%s]",
helm_chart_versions,
helm_chart_repository,
)

if helm_chart_versions and helm_chart_repository:
for full_chart_name, _current_version in helm_chart_versions.items():
Expand Down Expand Up @@ -282,7 +276,7 @@ def update_versions(

if not skip_helm:
logging.info("Updating Helm Chart versions")
changed = changed or _update_helm(versions, version_type)
changed = _update_helm(versions, version_type) or changed

if changed:
if dry_mode:
Expand Down

0 comments on commit 358f54b

Please sign in to comment.