absolute-version / commit-and-tag-version

Fork of the excellent standard-version. Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org :trophy:
ISC License
360 stars 33 forks source link

Does this package not support setting --header? #125

Open you-hengh opened 5 months ago

you-hengh commented 5 months ago

Hello, I started using commit-and-tag-version after reading the README from standard-version.

I've noticed that the --header parameter seems to be ineffective when using the commit-and-tag-version command.

I want to ask, does commit-and-tag-version not support customizing the header of the CHANGELOG?

The command I used while using standard-version

{
  "scripts": {
"cmi": "npx commit-and-tag-version --release-as minor --preset gitmoji-config -i docs/CHANGELOG.md --header '# 更新日志'",
"cpa": "npx commit-and-tag-version --release-as patch --preset gitmoji-config -i docs/CHANGELOG.md --header '# 更新日志'"
  },
}

When starting to use commit-and-tag-version, the --header parameter couldn't properly write into the CHANGELOG, hoping to address this issue, thank you!

Version in use: "commit-and-tag-version": "^12.2.0",