diff --git a/pyproject.toml b/pyproject.toml index c171a15..847e1bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,10 +23,12 @@ sphinx-autoapi = "^3.0.0" sphinx-rtd-theme = "^2.0.0" [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 +version_toml = [ + "pyproject.toml:tool.poetry.version", +] +branch = "main" +changelog_file = "CHANGELOG.md" +build_command = "pip install poetry && poetry build" 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