0

[16:07:15] [semantic-release] › ℹ 运行语义发布版本 17.0.4
[16:07:18] [semantic-release] › ✔ 从“@semantic-release/npm”加载插件“verifyConditions”
[16:07:19] [semantic-release] › ✔ 从“@semantic-release/git”加载插件“verifyConditions”
[16:07:19] [semantic-release] ›✔ 从“@”加载插件“analyzeCommits” semantic-release/commit-analyzer”
[16:07:19] [semantic-release] › ✔ 从“@semantic-release/release-notes-generator”
[16:07:19] [semantic- release] › ✔ 从“@semantic-release/changelog”加载插件“prepare”
[16:07:19] [semantic-release] › ✔ 从“加载”插件“prepare”@语义发布/npm"
[16:07:19] [semantic-release] › ✔ 从“@semantic-release/git”加载插件“prepare”
[16:07:19] [semantic-release] ›✔ 从“@”加载插件“publish”语义发布/npm”
[16:07:20] [语义发布] › ✔ 从“@semantic-release/gitlab”加载插件“发布”
[16:07:20] [语义发布] › ✔ 加载插件来自“@semantic-release/npm”的“ addChannel”
[16:07:20] [semantic-release] › ✔ 从“@semantic-release/github”加载插件“addChannel”
[16:07:27] [semantic- release] › ℹ 本次测试运行是在分支开发上触发的,而semantic-release配置为只从master发布,因此不会发布新版本。

在 .releaserc.js 上

module.exports = {
  branch: 'development',
4

1 回答 1

4

正确的选项是branches。请参阅https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#branches

于 2020-03-30T03:34:54.970 回答