从一个版本到另一个版本的更改日志中有多个条目

作者: StfBauer创建于 2024年11月20日更新于 2026年6月26日

我在更改记录中运行了以下命令:

bash
npx conventional-changelog -n ./.versionrc.json -i CHANGELOG.md -s -r 0 --tag-prefix 'htwoo-core-v' -p conventionalcommits

配置如下:

json
{
    "header": "# hTWOo Core - Changelog\n\nChanges in hTWOo core as they happen\n",
    "types": [
      {
        "type": "feat",
        "section": "Features"
      },
      {
        "type": "fix",
        "section": "Bug Fixes"
      },
      {
        "type": "chore",
        "hidden": true
      },
      {
        "type": "docs",
        "hidden": true
      },
      {
        "type": "style",
        "hidden": true
      },
      {
        "type": "refactor",
        "section": "Refactoring"
      },
      {
        "type": "perf",
        "hidden": true
      },
      {
        "type": "test",
        "hidden": true
      }
    ],
    "commitUrlFormat": "https://GitHub.com/n8design/htwoo/commit/{{hash}}",
    "compareUrlFormat": "https://GitHub.com/n8design/htwoo/compare/{{previousTag}}...{{currentTag}}",
    "tagPrefix": "htwoo-core-v"
  }

内容来源: conventional-changelog/conventional-changelog