Skip to content

Commit acd7860

Browse files
committed
✨ feat: add style and build to release rule
1 parent a742737 commit acd7860

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/release-module/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ const config: Options = {
88
{
99
// 使用 changelog-gitmoji-config 自定义配置,如果不填则是默认的 conventional-changelog-angular
1010
config: 'conventional-changelog-gitmoji-config',
11+
// 默认情况下 style 和 build 都会触发新的构建
12+
releaseRules: [
13+
{ type: 'style', release: 'patch' },
14+
{ type: 'build', release: 'patch' },
15+
],
1116
},
1217
],
1318
/* 此处生成 github-release 的日志 */

0 commit comments

Comments
 (0)