From 961b1ecb4e32f290dea7251f4c9faedaa793427c Mon Sep 17 00:00:00 2001 From: "Ismail H. Ayaz" Date: Fri, 8 Sep 2023 07:37:54 +0300 Subject: [PATCH] chore: update release it hooks to commit dist folder --- .release-it.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.release-it.js b/.release-it.js index 64be15c..4bc30bb 100644 --- a/.release-it.js +++ b/.release-it.js @@ -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}",