Skip to content

Commit 6fb6854

Browse files
committed
maint(build): Read release-it changelog template from absolute path. This allows for extending this config in external packages.
1 parent 81f3bde commit 6fb6854

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.release-it.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ const fs = require("fs");
22
const path = require("path");
33

44
const commits_template = fs
5-
.readFileSync(path.resolve(".release-it", "conventional-changelog-commit.hbs"))
5+
.readFileSync(
6+
path.resolve(__dirname, ".release-it", "conventional-changelog-commit.hbs")
7+
)
68
.toString();
79

810
module.exports = {

0 commit comments

Comments
 (0)