Skip to content

Commit

Permalink
chore: configure semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
patmikista committed Apr 22, 2024
1 parent bc3c63c commit 2c419f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ seaborn = "^0.13.2"
matplotlib = "^3.8.4"
sdeint = "^0.3.0"

[[tool.poetry.packages]]
include = "pyPTE/**/*"

[tool.pytest.ini_options]
pythonpath = ["."]

Expand All @@ -61,11 +64,12 @@ ignore_missing_imports = true

[tool.semantic_release]
version_variable = [
"src_folder/__init__.py:__version__",
"pyPTE/__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)"
Expand Down

0 comments on commit 2c419f3

Please sign in to comment.