-
Notifications
You must be signed in to change notification settings - Fork 18
/
.release-it.json
29 lines (29 loc) · 897 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
{
"$schema": "https://unpkg.com/release-it@17/schema/release-it.json",
"git": {
"requireBranch": "main",
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"commit": true,
"tag": true,
"push": true
},
"github": {
"release": true,
"releaseName": "Release ${version}",
"autoGenerate": true,
"comments": {
"submit": true,
"issue": ":rocket: _This issue has been resolved in v${version}. See [${releaseName}](${releaseUrl}) for release notes._",
"pr": ":rocket: _This pull request is included in v${version}. See [${releaseName}](${releaseUrl}) for release notes._"
}
},
"hooks": {
"before:init": ["git pull", "npm test"],
"after:bump": "npx auto-changelog -p",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"npm": {
"publish": true
}
}