为什么提交消息中的“/”会破坏语义发布?

Why does a "/" in commit message break semantic-release?

提问人:Tallulah 提问时间:5/20/2022 更新时间:5/20/2022 访问量:788

问:

我注意到在 gitlab ci 中使用 semantic-release/commit-analyzer 插件时,如果提交消息中有“/”,这会破坏语义发布,从而导致以下“错误”:

[7:28:38 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analyzing commit: Update ci_templates/DAST.gitlab-ci.yml
[7:28:38 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  The commit should not trigger a release
[7:28:38 AM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ  Analysis of 1 commits complete: no release
[7:28:38 AM] [semantic-release] › ✔  Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
[7:28:38 AM] [semantic-release] › ℹ  Start step "analyzeCommits" of plugin "@semantic-release/exec"
[7:28:38 AM] [semantic-release] › ✔  Completed step "analyzeCommits" of plugin "@semantic-release/exec"
[7:28:38 AM] [semantic-release] › ℹ  There are no relevant changes, so no new version is released.

我想知道是什么原因导致的,以及我是否/如何覆盖配置以允许在提交消息中使用正斜杠?

gitlab gitlab-ci 提交消息 语义发布

评论

0赞 lyzlisa 5/22/2022
github.com/semantic-release/commit-analyzer/issues/175
0赞 Tallulah 5/23/2022
我确实遇到了这个问题,但不清楚如何解决这个问题

答: 暂无答案