Skip to content

Commit 8bca3af

Browse files
committed
feat: temporarily remove the body generation of the feature to develop PR
1 parent d1e939f commit 8bca3af

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/update-demo.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# ]
99
# ///
1010
import itertools
11-
import subprocess
1211
from pathlib import Path
1312
from subprocess import CompletedProcess
1413
from typing import Annotated
@@ -156,18 +155,7 @@ def _get_demo_feature_pr_body(demo_path: Path, commit_start: str) -> str:
156155
if commit_end is None:
157156
raise ValueError(f"Unable to find latest commit in .cruft.json for demo at {demo_path}.")
158157
rev_range: str = f"{commit_start}..{commit_end}"
159-
command: list[str] = [
160-
"uvx",
161-
"--from",
162-
"commitizen",
163-
"cz",
164-
"changelog",
165-
rev_range,
166-
"--dry-run",
167-
"--unreleased-version"
168-
]
169-
section_notes: str = subprocess.check_output(command, text=True)
170-
return section_notes.strip()
158+
return rev_range
171159

172160

173161
if __name__ == '__main__':

0 commit comments

Comments
 (0)