Skip to content

Commit b71198d

Browse files
committed
build(release): Use @release-it/keep-a-changelog
1 parent 6a40445 commit b71198d

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.release-it.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,13 @@
2929
"file": ".appveyor.yml",
3030
"search": "version: \".*\\+{build}\"",
3131
"replace": "version: \"{{version}}+{build}\""
32-
},
33-
{
34-
"file": "CHANGELOG.md",
35-
"search": "Unreleased",
36-
"replace": "[{{version}}] - {{now:yyyy-MM-dd}}"
37-
},
38-
{
39-
"file": "CHANGELOG.md",
40-
"search": "(\\[\\d+\\.\\d+\\.\\d+\\]: http)",
41-
"replace": "[{{version}}]: https://github.com/j-ulrich/http-status-codes-cpp/releases/tag/{{version}}\n$1"
4232
}
4333
]
34+
},
35+
"@release-it/keep-a-changelog": {
36+
"head": "develop",
37+
"addVersionUrl": true,
38+
"versionUrl": "{repositoryUrl}/releases/tag/{tagName}"
4439
}
4540
}
4641
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
This changelog follows the [Keep a Changelog](http://keepachangelog.com) format.
88

99

10+
---
11+
12+
## [Unreleased]
13+
14+
1015
---
1116

1217

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"devDependencies": {
3434
"@j-ulrich/git-flow-silent-release": "^1.0.1",
3535
"@j-ulrich/release-it-regex-bumper": "^3.0.1",
36+
"@release-it/keep-a-changelog": "^2.5.0",
3637
"diff": "^4.0.0",
3738
"node-fetch": "^2.3.0",
3839
"release-it": "^14.11.6"

0 commit comments

Comments
 (0)