From ffafdf56fa066ff9025f41dc7cc2ed077e489df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 20 Nov 2024 09:02:10 +0100 Subject: [PATCH] log --- tag_publish/cli.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tag_publish/cli.py b/tag_publish/cli.py index f60b33a..2aa810d 100644 --- a/tag_publish/cli.py +++ b/tag_publish/cli.py @@ -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: