Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ci/release_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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}")
Expand Down
Loading