Skip to content

Commit

Permalink
chore: update release it hooks to commit dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Sep 8, 2023
1 parent 8e868ac commit 961b1ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .release-it.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
"hooks": {
"before:init": ["pnpm run test", "pnpm run build"],
"before:init": [
"pnpm run test",
"pnpm run build",
"git add dist/* && git commit -m \"chore: build\""
],
},
"git": {
"commitMessage": "chore: release v${version}",
Expand Down

0 comments on commit 961b1ec

Please sign in to comment.