mirror of
https://github.com/leon-ai/leon.git
synced 2024-10-26 18:18:46 +03:00
refactor(scripts): exclude current Node.js bridge archive from new archive
This commit is contained in:
parent
bb00677568
commit
0e4ec4fb97
@ -188,7 +188,7 @@ BUILD_TARGETS.set('tcp-server', {
|
||||
if (needsPythonEnv) {
|
||||
archive.directory(buildPath, BINARIES_FOLDER_NAME)
|
||||
} else {
|
||||
archive.glob('**/*', { cwd: distPath })
|
||||
archive.glob(`**/!(${archiveName})`, { cwd: distPath })
|
||||
}
|
||||
|
||||
await archive.finalize()
|
||||
|
Loading…
Reference in New Issue
Block a user