Skip to content

Commit

Permalink
chore(release): Updated semantic-release
Browse files Browse the repository at this point in the history
configuration
  • Loading branch information
nicrie committed Nov 20, 2023
1 parent aba57e0 commit 320dbcb
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,25 @@ requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.semantic_release]
version_variable = [
"xeofs/_version.py:__version__",
"pyproject.toml:version"
]
branch = "main"
upload_to_pypi = true
uploade_to_release = true
version_toml = [ "pyproject.toml:tool.poetry.version" ]
version_source = "tag"
commit_message = "chore(release): v{version}"
build_command = "pip install poetry && poetry build"
branch = "main"

[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"]

0 comments on commit 320dbcb

Please sign in to comment.