From 1b146e989eb69e40beb29c842a12904faaa48f94 Mon Sep 17 00:00:00 2001 From: SlashGordon Date: Wed, 15 Nov 2023 10:00:02 +0100 Subject: [PATCH] fix: release --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d163971..b0fba71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,12 +33,14 @@ build-backend = "poetry.core.masonry.api" [tool.semantic_release] version_variable = [ "src/pysymbolscanner/__init__.py:__version__", - "pyproject.toml:version" +] +version_toml = [ + "pyproject.toml:tool.poetry.version", ] branch = "master" upload_to_pypi = true upload_to_release = true -build_command = "pip install poetry && poetry publish --build" +build_command = "pip install poetry && poetry build" [tool.pytest.ini_options] addopts = "tests/ --junitxml test-results/test.xml --cov src/pysymbolscanner --cov-report term-missing"