-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrelease-it.json
More file actions
27 lines (27 loc) · 781 Bytes
/
release-it.json
File metadata and controls
27 lines (27 loc) · 781 Bytes
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
{
"$schema": "https://docs.release-it.com/schema/release-it.json",
"git": {
"requireCleanWorkingDir": true,
"tagName": "v${version}",
"commitMessage": "Release v${version}",
"changelogCommand": "git log --pretty=medium --no-merges --oneline ${from}..${to} && echo '' && cat CHANGELOG.md 2>/dev/null | head -50 || echo 'No changelog'"
},
"github": {
"release": true,
"releaseName": "Release v${version}",
"autoGenerate": true
},
"npm": {
"publish": false
},
"hooks": {
"before:init": ["npm run lint", "npm test"],
"before:release": ["npm run build"]
},
"increment": "patch",
"plugins": {
"release-it-changelog": {
"preserveOrder": ["added", "changed", "deprecated", "removed", "fixed", "security"]
}
}
}