-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.release-it.json
More file actions
31 lines (31 loc) · 859 Bytes
/
.release-it.json
File metadata and controls
31 lines (31 loc) · 859 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
28
29
30
31
{
"hooks": {
"before:init": [
"yarn build"
],
"before:git:release": "git checkout -b deploy/$(git log -n1 --pretty='%h')",
"after:git:release": "git checkout $(git log -n1 --pretty='%h') && git branch -D deploy/$(git log -n1 --pretty='%h') && git push origin :deploy/$(git log -n1 --pretty='%h')"
},
"git": {
"requireCleanWorkingDir": false,
"requireUpstream": false,
"commit": false,
"tag": true,
"tagName": "v${version}",
"tagArgs": [],
"push": true
},
"github": {
"release": true,
"skipChecks": true,
"releaseName": "v${version}"
},
"npm": {
"publish": true,
"publishPath": ".",
"tag": null,
"ignoreVersion": true,
"skipChecks": true,
"timeout": 10
}
}