This commit is contained in:
@@ -1,29 +1,16 @@
|
|||||||
[tool.semantic_release]
|
[tool.semantic_release]
|
||||||
# Формат тега С префиксом v (для совместимости с существующими тегами)
|
|
||||||
tag_format = "v{version}"
|
tag_format = "v{version}"
|
||||||
|
|
||||||
# Где обновлять версию при релизе
|
|
||||||
version_variables = [
|
version_variables = [
|
||||||
"custom_components/motion_light/manifest.json:version",
|
"custom_components/motion_light/manifest.json:version",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Сообщение коммита
|
|
||||||
commit_message = "chore(release): v{version}"
|
commit_message = "chore(release): v{version}"
|
||||||
|
|
||||||
# Настройки для Gitea
|
|
||||||
[tool.semantic_release.remote]
|
|
||||||
type = "gitea"
|
|
||||||
# URL вашей Gitea (без trailing slash)
|
|
||||||
domain = "https://192.168.200.208:3000"
|
|
||||||
# Имя пользователя и репозитория
|
|
||||||
api_path = "/api/v1"
|
|
||||||
|
|
||||||
# Настройки веток
|
|
||||||
[tool.semantic_release.branches.main]
|
[tool.semantic_release.branches.main]
|
||||||
match = "(main|master)"
|
match = "(main|master)"
|
||||||
prerelease = false
|
prerelease = false
|
||||||
|
|
||||||
# Настройки парсера коммитов
|
|
||||||
[tool.semantic_release.commit_parser_options]
|
[tool.semantic_release.commit_parser_options]
|
||||||
allowed_tags = ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "revert"]
|
allowed_tags = ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "revert"]
|
||||||
minor_tags = ["feat"]
|
minor_tags = ["feat"]
|
||||||
|
|||||||
Reference in New Issue
Block a user