Skip to content

Commit 0bf91da

Browse files
committed
Correctly target the top level folder for windows zip
1 parent 305d87f commit 0bf91da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ci/buildRelease.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ const bundleGit = ({
109109

110110
let zipSourceDir = buildDirectory;
111111
if (process.platform === 'win32') {
112-
let zipSourceDir = path.join(buildDirectory, 'git-rs');
113-
await fs.copy(buildDirectory, zipSourceDir);
112+
let zipSourceDir = path.join(process.cwd(), 'temp-zip');
113+
await fs.copy(buildDirectory, path.join(zipSourceDir, 'git-rs'));
114114
}
115115

116116
try {

0 commit comments

Comments
 (0)