Browse Source

docs(changelog): fix broken version bumping

Standard Version was not bumping the package metadata files as it
should have been. It's not clear to me why, but there is an open
[GitHub issue][1] for documenting this behaviour.

[1]: https://github.com/conventional-changelog/standard-version/issues/506

Change-Id: Ie89a81272fe507a3d2e1cd33c6ac1bdcc8ac3d75
Signed-off-by: Chris Kay <chris.kay@arm.com>
pull/1983/merge
Chris Kay 3 years ago
parent
commit
ba748f3c35
  1. 17
      .versionrc.js
  2. 2
      package.json

17
.versionrc.js

@ -70,7 +70,24 @@ module.exports = {
"types": types,
"sections": sections,
},
"infile": "docs/change-log.md",
"skip": {
"commit": true,
"tag": true
},
"bumpFiles": [
{
"filename": "package.json",
"type": "json"
},
{
"filename": "package-lock.json",
"type": "json"
},
{
"filename": "tools/conventional-changelog-tf-a/package.json",
"type": "json"
},
{
"filename": "Makefile",
"updater": {

2
package.json

@ -5,7 +5,7 @@
"private": true,
"scripts": {
"postinstall": "husky install",
"release": "standard-version -i docs/change-log.md"
"release": "standard-version"
},
"devDependencies": {
"@commitlint/cli": "^16.1.0",

Loading…
Cancel
Save