diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9b14dd9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[tool.semantic_release] +tag_format = "v{version}" + +version_variables = [ + "custom_components/motion_recorder/manifest.json:version", +] + +commit_message = "chore(release): v{version}" + +# ВАЖНО: не создаём релиз в Gitea (релиз будет в GitHub) +upload_to_vcs_release = false + +[tool.semantic_release.remote] +type = "gitea" +domain = "192.168.200.208:3000" +api_domain = "192.168.200.208:3000" + +[tool.semantic_release.branches.main] +match = "(main|master)" +prerelease = false + +[tool.semantic_release.commit_parser_options] +allowed_tags = ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "revert"] +minor_tags = ["feat"] +patch_tags = ["fix", "perf"] \ No newline at end of file