diff options
author | Chris Kay <chris.kay@arm.com> | 2021-12-03 11:22:09 +0000 |
---|---|---|
committer | Chris Kay <chris.kay@arm.com> | 2022-01-24 12:55:34 +0000 |
commit | ba748f3c35a35cddb0ff75f389dd1d652b53ba8f (patch) | |
tree | 48e177eeaafa52bb331b5f57d65fcad5762a4596 | |
parent | c503b42c09b793ef4ac024c1bca646599be74bce (diff) | |
download | arm-trusted-firmware-ba748f3c35a35cddb0ff75f389dd1d652b53ba8f.tar.gz |
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>
-rw-r--r-- | .versionrc.js | 17 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/.versionrc.js b/.versionrc.js index fa6a26f98..f699a0795 100644 --- a/.versionrc.js +++ b/.versionrc.js @@ -70,8 +70,25 @@ 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": { "readVersion": function (contents) { diff --git a/package.json b/package.json index 71632a35d..3556dc516 100644 --- a/package.json +++ b/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", |