Skip to content

Commit 20567e5

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent 6b9da70 commit 20567e5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "9a676e5ee83ad4144a0b988d63d9b7776cedbb5b",
2+
"_commit": "eb9b7dd453b9adc532f8e331392aa186b4e4b0b7",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "9a676e5ee83ad4144a0b988d63d9b7776cedbb5b",
3+
"commit": "eb9b7dd453b9adc532f8e331392aa186b4e4b0b7",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -18,7 +18,7 @@
1818
"license": "MIT",
1919
"development_status": "Development Status :: 1 - Planning",
2020
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
21-
"_commit": "9a676e5ee83ad4144a0b988d63d9b7776cedbb5b"
21+
"_commit": "eb9b7dd453b9adc532f8e331392aa186b4e4b0b7"
2222
}
2323
},
2424
"directory": null

scripts/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def remove_readonly(func: Callable[[str], Any], path: str, _: Any) -> None:
5858
def get_package_version() -> str:
5959
"""Gets the package version."""
6060
result: subprocess.CompletedProcess = subprocess.run(
61-
["uvx", "version", "-p"],
61+
["uvx", "--with", "commitizen", "cz", "version", "-p"],
6262
cwd=REPO_FOLDER,
6363
capture_output=True
6464
)
@@ -124,6 +124,7 @@ def get_latest_release_notes() -> str:
124124
result: subprocess.CompletedProcess = subprocess.run(
125125
["uvx", "--from", "commitizen", "cz", "changelog", rev_range, "--dry-run"],
126126
cwd=REPO_FOLDER,
127+
capture_output=True,
127128
check=True
128129
)
129130
return result.stdout.decode("utf-8")

0 commit comments

Comments
 (0)