We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53202a commit ded0d8bCopy full SHA for ded0d8b
.releaserc.js
@@ -1,10 +1,11 @@
1
const dateFormat = require("dateformat");
2
const readFileAsync = require("fs").promises.readFile;
3
+const { join } = require("path");
4
-const template = readFileAsync(path.join(TEMPLATE_DIR, "default-template.hbs"));
5
-const commitTemplate = readFileAsync(
6
- path.join(TEMPLATE_DIR, "commit-template.hbs")
7
-);
+const TEMPLATE_DIR =
+ "node_modules/semantic-release-gitmoji/lib/assets/templates";
+const template = readFileAsync(join(TEMPLATE_DIR, "default-template.hbs"));
8
+const commitTemplate = readFileAsync(join(TEMPLATE_DIR, "commit-template.hbs"));
9
10
module.exports = {
11
plugins: [
0 commit comments