Skip to content

Commit

Permalink
chore: release-it add before hook to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
axi92 committed Aug 14, 2024
1 parent 6d8ee84 commit 03500f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "https://unpkg.com/release-it@17/schema/release-it.json",
"hooks": {},
"hooks": {
"before:init": "yarn pack --out '%s_%v.tgz'"
},
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "${version}"
Expand Down

0 comments on commit 03500f4

Please sign in to comment.