-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.release-it.json
40 lines (40 loc) · 970 Bytes
/
.release-it.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"npm": false,
"git": {
"commitMessage": "chore: release ${version}",
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"comments": {
"submit": false
}
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "refactor",
"section": "(internal) Refactorings"
}
]
},
"infile": "CHANGELOG.md",
"header": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n"
}
},
"hooks": {
"before:git:release": ["pnpm exec prettier . --write", "git add .", "pnpm run lint"],
"after:release": "echo \"RELEASED_VERSION=${version}\" >> $GITHUB_ENV"
}
}