diff --git a/.github/ci/release_checker.py b/.github/ci/release_checker.py index 6e4685007..63251a317 100644 --- a/.github/ci/release_checker.py +++ b/.github/ci/release_checker.py @@ -55,7 +55,7 @@ def run_git_command(args, cwd): version = "N/A" release_date = "?" changes_since_version = "N/A" - commit_count = "?" + commit_count = "0" if component_name in deprecated: continue @@ -70,7 +70,7 @@ def run_git_command(args, cwd): if version != "N/A": try: rel_yml_path = os.path.relpath(yml_path, repo_path).replace("\\", "/") - log_output = run_git_command(["log", "-p", "--", rel_yml_path], cwd=repo_path) + log_output = run_git_command(["log", "-p", "-m", "--", rel_yml_path], cwd=repo_path) current_commit = None current_date = None @@ -142,7 +142,7 @@ def run_git_command(args, cwd): changes_since_version = "✔️ No " # count_output = run_git_command(["rev-list", f"{commit_hash}..HEAD", "--count", rel_component_path], cwd=repo_path) - commit_count = len(changed_paths) if changed_paths else "?" + commit_count = len(changed_paths) if changed_paths else "0" except Exception as e: print(f"Chyba: {e}")