Skip to content

Commit

Permalink
docs(changelog): fix broken version bumping
Browse files Browse the repository at this point in the history
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]: conventional-changelog/standard-version#506

Change-Id: Ie89a81272fe507a3d2e1cd33c6ac1bdcc8ac3d75
Signed-off-by: Chris Kay <chris.kay@arm.com>
  • Loading branch information
CJKay committed Jan 24, 2022
1 parent c503b42 commit ba748f3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .versionrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ba748f3

Please sign in to comment.