Skip to content

Commit

Permalink
refactor(scripts): exclude current Node.js bridge archive from new ar…
Browse files Browse the repository at this point in the history
…chive
  • Loading branch information
louistiti committed Apr 30, 2023
1 parent bb00677 commit 0e4ec4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-binaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0e4ec4f

Please sign in to comment.