-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.json
39 lines (39 loc) · 1.15 KB
/
.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
{
"git": {
"commitMessage": "chore: release v${version}",
"commitArgs": ["--no-verify"],
"requireBranch": ["master", "beta", "alpha"]
},
"github": {
"release": true,
"assets": ["dist/push-analytics-${version}.tar.gz"]
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# Changelog",
"ignoreRecommendedBump": true,
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
}
]
}
}
},
"npm": {
"publish": false
},
"hooks": {
"before:init": ["npm run lint", "npm run test:unit"],
"after:bump": "npm run build:compile && npm run build:compress ${version}",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}