Skip to content

Commit 82b160d

Browse files
committed
build: add release-it
1 parent 8900c33 commit 82b160d

File tree

4 files changed

+2550
-227
lines changed

4 files changed

+2550
-227
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
/assets/jsconfig.json
1212
/static/uikit/**
1313
.DS_Store
14+
*.zip
15+
*.tgz

.release-it.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"hooks": {
3+
"before:init": "npm run lint",
4+
"before:release": "npm run build && npm run zip",
5+
"after:release": "echo Successfully released ${name} v${version}."
6+
},
7+
"git": {
8+
"tagName": "v${version}"
9+
},
10+
"npm": {
11+
"publish": false
12+
},
13+
"github": {
14+
"release": true,
15+
"assets": ["website.zip"]
16+
}
17+
}

0 commit comments

Comments
 (0)