Is it possible to give custom type in the configuration?
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- release
调研方向
未指定文件、测试或入口点。首先跟踪 commit-analyzer 如何读取其 preset 和 releaseRules 配置,然后检查 commit types 的匹配方式。当所示的 test-fix 和 test-feat 提交按配置生成 patch 和 minor 发布版本时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I want to analyze some custom-type commits also. Something like below:
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [{
"type": "chore",
"release": "patch"
}, {
"type": "test-fix",
"release": "patch"
}, {
"type": "test-feat",
"release": "minor"
}]
}
]
Is there any way to do like above?
For example:
test-fix: Testing semantic commit analyzer , this commit should trigger the patch release.
- 主要语言
- JavaScript
- 星标
- 448
- 派生
- 82
- 平均合并
- 6 天 22 小时
- 30 天内合并 PR
- 8
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
semantic-release/commit-analyzer 的其他 Issue
-
released on @beta
难度 2/5 1-3 小时 新手友好度 65/100
semantic-release/commit-analyzer#921 · 8 条评论 · 7 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
semantic-release/commit-analyzer#805 · 6 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
semantic-release/commit-analyzer#802 · 1 条评论 ·
-
Unexpected major release because commit description includes a line starting with "Breaking change"未关闭
难度 3/5 1-2 天 新手友好度 35/100
semantic-release/commit-analyzer#776 · 1 条评论 ·
-
released on @beta
难度 3/5 1-2 天 新手友好度 55/100
semantic-release/commit-analyzer#759 · 13 条评论 · 6 个 reaction ·
查看 semantic-release/commit-analyzer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
Design only Leadership Survey SLFS
难度 2/5 1-3 小时 新手友好度 70/100
bcgov/digital-journeys#2293 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
tursodatabase/turso#9405 ·
维护者通常 1 天内回复
-
Toolkit
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
API Bug
难度 2/5 1-3 小时 新手友好度 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
维护者通常 1 天内回复