mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Tools: Fix clipper release script
This commit is contained in:
parent
6807f7e07b
commit
22c61ba603
@ -82,8 +82,8 @@ async function main() {
|
||||
}
|
||||
|
||||
console.info('Creating source tarball for code validation...');
|
||||
console.info(`Chdir: ${clipperDir}`);
|
||||
process.chdir(`${clipperDir}/`);
|
||||
console.info(`Chdir: ${clipperDir}/..`);
|
||||
process.chdir(`${clipperDir}/..`);
|
||||
console.info(await execCommand(`rsync -a --delete --exclude 'node_modules/' --exclude 'build/' --exclude 'dist/' "${clipperDir}/" "${tmpSourceDir}/"`));
|
||||
console.info(await execCommand(`7z a -tzip joplin-webclipper-source.zip "${tmpSourceDirName}"`));
|
||||
console.info(await execCommand(`mv joplin-webclipper-source.zip "${clipperDir}/dist/" && rm -rf "${tmpSourceDirName}"`));
|
||||
|
Loading…
Reference in New Issue
Block a user