浏览代码

fix(semantic-release): Use git plugin to auto commit

Thibault Malbranche 6 年前
父节点
当前提交
c727dd9848
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      .releaserc

+ 4
- 2
.releaserc 查看文件

@@ -3,10 +3,12 @@
3 3
     "@semantic-release/commit-analyzer",
4 4
     "@semantic-release/release-notes-generator",
5 5
     "@semantic-release/npm",
6
+    "@semantic-release/github",
6 7
     [
7
-      "@semantic-release/github",
8
+      "@semantic-release/git",
8 9
       {
9
-        "assets": "package.json"
10
+        "assets": "package.json",
11
+        "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
10 12
       }
11 13
     ]
12 14
   ]