Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 20, 2024
1 parent 7092de9 commit ffafdf5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tag_publish/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,22 @@ def _handle_helm_publish(
versions[-1] = str(int(versions[-1]) + 1)
version = ".".join(versions)

print("packages")
for package in helm_config["packages"]:
print(f"package: {package}")
print(
f'group: {package.get("group", tag_publish.configuration.HELM_PACKAGE_GROUP_DEFAULT)} == '
f'{group}'
)
if package.get("group", tag_publish.configuration.HELM_PACKAGE_GROUP_DEFAULT) == group:
print(
f'version_type: {version_type} in '
f'{helm_config.get("versions", tag_publish.configuration.HELM_VERSIONS_DEFAULT)}'
)
publish = version_type in helm_config.get(
"versions", tag_publish.configuration.HELM_VERSIONS_DEFAULT
)
print(publish)
if publish:
folder = package.get("folder", tag_publish.configuration.HELM_PACKAGE_FOLDER_DEFAULT)
if dry_run:
Expand Down

0 comments on commit ffafdf5

Please sign in to comment.