1
0
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:
Laurent Cozic 2020-03-02 18:19:17 +00:00
parent 47c0d9500a
commit 8632ef34eb

View File

@ -83,7 +83,7 @@ async function main() {
console.info('Creating source tarball for code validation...');
process.chdir(`${clipperDir}/`);
console.info(await execCommand(`rsync -a --delete --exclude 'node_modules/' --exclude 'build/' --exclude 'dist/' "${clipperDir}/ ${tmpSourceDir}/"`));
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}"`));