Skip to content

Commit 961b1ec

Browse files
committed
chore: update release it hooks to commit dist folder
1 parent 8e868ac commit 961b1ec

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.release-it.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module.exports = {
22
"hooks": {
3-
"before:init": ["pnpm run test", "pnpm run build"],
3+
"before:init": [
4+
"pnpm run test",
5+
"pnpm run build",
6+
"git add dist/* && git commit -m \"chore: build\""
7+
],
48
},
59
"git": {
610
"commitMessage": "chore: release v${version}",

0 commit comments

Comments
 (0)