Skip to content

Commit 23e1129

Browse files
tayeCI
authored andcommitted
chore: fix build issues
1 parent c04160b commit 23e1129

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/bin/release.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ async function runBuild() {
121121
function commit() {
122122
// commit and add new version tag
123123
shell.exec('git add --all .')
124-
shell.exec('git add --force packages dist/api')
124+
shell.exec('git add --force packages')
125+
if (!isPro) shell.exec('git add --force dist/api')
125126
shell.exec('git reset **/node_modules')
126127
shell.exec(`git commit --no-verify -m ${gitTag}`)
127128
}

0 commit comments

Comments
 (0)