Skip to content

Commit

Permalink
chore: update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarten authored Oct 16, 2024
1 parent 3c54bd0 commit f4d4425
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ version_variable = "early_stopping_pytorch/__init__.py:__version__"
branch = "main"
upload_to_pypi = false
build_command = "pip install build && python -m build"

[tool.semantic_release.git]
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "angular"
major_on_zero = true
tag_format = "v{version}"

[tool.semantic_release.changelog]
changelog_file = "CHANGELOG.md"
exclude_commit_patterns = []

[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false

[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]

[tool.semantic_release.publish]
upload_to_vcs_release = true

0 comments on commit f4d4425

Please sign in to comment.