提问人:Tallulah 提问时间:5/20/2022 更新时间:5/20/2022 访问量:788
为什么提交消息中的“/”会破坏语义发布?
Why does a "/" in commit message break semantic-release?
问:
我注意到在 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.
我想知道是什么原因导致的,以及我是否/如何覆盖配置以允许在提交消息中使用正斜杠?
答: 暂无答案
评论