From a4b0dc04956c75e57363370a9a1ce5b4680eac28 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 31 Jul 2024 11:52:31 +0200 Subject: [PATCH] impr(relase script): add no-verify to git commands safe to do because we know what we do during the script and we verify there are no uncommited changes before running !nuf --- bin/release.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/release.mjs b/bin/release.mjs index 897364332..4c04a70fe 100644 --- a/bin/release.mjs +++ b/bin/release.mjs @@ -158,9 +158,9 @@ const generateChangelog = async () => { const createCommitAndTag = (version) => { console.log("Creating commit and tag... Pushing to Github..."); runCommand(`git add .`); - runCommand(`git commit -m "chore: release ${version}"`); + runCommand(`git commit -m "chore: release ${version}" --no-verify`); runCommand(`git tag ${version}`); - runCommand(`git push origin master --tags`); + runCommand(`git push origin master --tags --no-verify`); }; const createGithubRelease = async (version, changelogContent) => {