fix: release workflow
CI / lint (push) Successful in 20s
CI / test (3.11) (push) Successful in 22s
CI / test (3.12) (push) Successful in 24s
CI / test (3.13) (push) Successful in 25s

This commit is contained in:
2026-07-02 16:54:27 +02:00
parent b1e456bcb0
commit a9c302d503
2 changed files with 40 additions and 2 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ name: Build and Publish
on:
workflow_run:
workflows: ["CI"]
# branches:
# - main
branches:
- main
types:
- completed
+38
View File
@@ -0,0 +1,38 @@
[tool.semantic_release]
build_command = "python -m build"
version_toml = [
"./pyproject.toml:project.version",
]
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
default_bump_level = 0
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = true
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true