Skip to content

Commit f144fec

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent e2028fc commit f144fec

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
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": "8cc5fcc6ded1cd4e6fc748b0ed0acb7e664df367",
2+
"_commit": "25270e77695521310ba772b545dc194eeea1cb78",
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": "8cc5fcc6ded1cd4e6fc748b0ed0acb7e664df367",
3+
"commit": "25270e77695521310ba772b545dc194eeea1cb78",
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": "8cc5fcc6ded1cd4e6fc748b0ed0acb7e664df367"
21+
"_commit": "25270e77695521310ba772b545dc194eeea1cb78"
2222
}
2323
},
2424
"directory": null

scripts/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def create_release_branch(new_version: str) -> None:
7878
"""Creates a release branch."""
7979
commands: list[list[str]] = [
8080
["git", "status", "--porcelain"],
81-
["git", "branch", "-b", f"release/{new_version}", "develop"],
82-
["git", "checkout", f"release/{new_version}"],
81+
["git", "checkout", "-b", f"release/{new_version}", "develop"],
8382
]
8483
for command in commands:
8584
subprocess.run(command, cwd=REPO_FOLDER, capture_output=True, check=True)

0 commit comments

Comments
 (0)