Skip to content

Commit

Permalink
Updated PSR table in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers authored Jan 22, 2024
1 parent 550cb3a commit 62fdd3a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions {{ cookiecutter.__package_slug }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@ python = "^{{ cookiecutter.python_version }}"
[tool.poetry.dev-dependencies]
{% if cookiecutter.include_github_actions == 'ci+cd' -%}
[tool.semantic_release]
version_variable = "pyproject.toml:version" # version location
branch = "main" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "poetry build" # build dists
dist_path = "dist/" # where to put dists
upload_to_release = true # auto-create GitHub release
upload_to_pypi = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = true # patch release by default
version_toml = [
"pyproject.toml:tool.poetry.version",
] # version location
branch = "main" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "pip install poetry && poetry build" # build dists
{% endif %}
[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 62fdd3a

Please sign in to comment.