feat: add release action
All checks were successful
release / Release (push) Successful in 15s

This commit is contained in:
2025-05-06 14:26:14 +02:00
parent 449dbbce49
commit ea95f2d970
3 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,37 @@
[tool.semantic_release.branches.main]
match = "(main)"
prerelease = false
[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 = "gitea"
domain = "https://gitea.psi.ch"
ignore_token_for_push = false
[tool.semantic_release.remote.token]
env = "GITHUB_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true