Skip to content

Commit

Permalink
fix: add toml section of release_to_pypi == yes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Oct 27, 2023
1 parent 4402f52 commit 0fc78af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ max-complexity = 10
[tool.setuptools]
include-package-data = true

{% if cookiecutter.release_to_pypi != "yes" -%}
{% if cookiecutter.release_to_pypi == "yes" -%}
[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:project.version"]
Expand Down

0 comments on commit 0fc78af

Please sign in to comment.