ci: adopt python-semantic-release, fix hardcoded version strings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Justin Visser 2026-02-27 00:07:25 +01:00
parent 3866c6d6f0
commit 6c31b331f7
3 changed files with 41 additions and 3 deletions

View file

@ -27,6 +27,7 @@ dependencies = [
dev = [
"pytest>=8.3,<9.0",
"pytest-asyncio>=0.25,<0.26",
"python-semantic-release>=9.0,<10.0",
"ruff>=0.9",
"mypy>=1.14",
]
@ -61,6 +62,13 @@ ignore_missing_imports = true
check_untyped_defs = false
warn_unused_ignores = true
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
version_variables = ["frontend/package.json:version"]
branch = "main"
build_command = ""
commit_message = "chore(release): v{version}"
[tool.setuptools]
include-package-data = true