Skip to content

Commit

Permalink
Add release-it to manage releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyeh committed Jan 6, 2022
1 parent fb193a8 commit c25bdd7
Show file tree
Hide file tree
Showing 3 changed files with 3,963 additions and 64 deletions.
30 changes: 30 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"hooks": {
"before:init": [],
"after:bump": [
"echo add build/ folder",
"git add -f build/",
"git commit -m 'Add build/ for release version ${version}.'"
],
"after:npm:release": [],
"after:git:release": [],
"after:github:release": [],
"after:release": [
"echo Successfully released ${name} ver. ${version} to ${repo.repository}.",
"echo remove build/ folder",
"git rm -r build/",
"git commit -m 'Remove build/ after the release.'",
"git push"
]
},
"git": {
"changelog": false,
"commitMessage": "release VexFlow ${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
}
}
Loading

0 comments on commit c25bdd7

Please sign in to comment.