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
This commit is contained in:
Miodec 2024-07-31 11:52:31 +02:00
parent f91cff2e60
commit a4b0dc0495

View file

@ -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) => {