From a7b0707da1ae115e252f2572bb819053140e2cbe Mon Sep 17 00:00:00 2001 From: rorywhite200 <125914446+rorywhite200@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:14:44 -0800 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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