From ca7b6c8f38678b32d59d5f3411f3b66b393b2711 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Sun, 3 Jul 2022 16:26:47 -0400 Subject: [PATCH] Fixing git branch in tool.semantic_release --- README.md | 2 +- {{cookiecutter.package_name}}/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce4d28c..59122b3 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ This will take you to a project setup asking for: - `package_command` - This will configure poetry to allow calling the package, `package_name/console:entry_point`, via this command. Generally, this would be the same value as `package_name` - `author_name` - The author of the package - `author_email` - The email for the author -- `git_branch` - The branch to utilize when performing `git init -b ` +- `git_branch` - The branch to utilize when performing `git init -b ` and package building - `github_repo_name` - For documentation, such as URLs to the issue tracker - `github_user_name` - For documentation, such as URLs to the issue tracker - `python_version`- The Python version that should be defined in `pyproject.toml` diff --git a/{{cookiecutter.package_name}}/pyproject.toml b/{{cookiecutter.package_name}}/pyproject.toml index 3d9a1e3..d927847 100644 --- a/{{cookiecutter.package_name}}/pyproject.toml +++ b/{{cookiecutter.package_name}}/pyproject.toml @@ -25,7 +25,7 @@ sphinx-autobuild = "*" [tool.semantic_release] version_variable = "pyproject.toml:version" -branch = "master" +branch = "{{cookiecutter.git_branch}}" build_command = "pip install poetry && poetry build" dist_path = "dist/" upload_to_pypi = false