From 23e1129b3ead9616cf36228c184a7f63a4947c8a Mon Sep 17 00:00:00 2001 From: Taye Adeyemi Date: Thu, 28 Mar 2024 20:37:39 +0100 Subject: [PATCH] chore: fix build issues --- scripts/bin/release.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/bin/release.js b/scripts/bin/release.js index 4b5e79117..4fb51a590 100644 --- a/scripts/bin/release.js +++ b/scripts/bin/release.js @@ -121,7 +121,8 @@ async function runBuild() { function commit() { // commit and add new version tag shell.exec('git add --all .') - shell.exec('git add --force packages dist/api') + shell.exec('git add --force packages') + if (!isPro) shell.exec('git add --force dist/api') shell.exec('git reset **/node_modules') shell.exec(`git commit --no-verify -m ${gitTag}`) }