Skip to content

Commit

Permalink
chore: configure semantic release (#36)
Browse files Browse the repository at this point in the history
* feat: breaking changes due to essential bug fixes

* chore: pipeline

* fix: configure semantic release
  • Loading branch information
patrk authored Apr 22, 2024
1 parent 8c3dabc commit b48b919
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,22 @@ module = ["scipy", "mne", "seaborn", "sdeint"]
ignore_missing_imports = true

[tool.semantic_release]
version_variable = "pyPTE/__init__.py:__version__"
version_variable = [
"src_folder/__init__.py:__version__",
"pyproject.toml:version"
]
upload_to_pypi = "false"
upload_to_release = true
build_command = "pip install poetry && poetry build"

[tool.semantic_release.branches.main]
match = "(main)"
[tool.semantic_release.remote.token]
env = "GH_TOKEN"

[tool.semantic_release.remote.token]
env = "GH_TOKEN"

[build-system]
requires = ["poetry-core>=1.9"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit b48b919

Please sign in to comment.