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:06:57 +00:00
parent 0910dc4e54
commit ee01d26915

View File

@ -81,7 +81,7 @@ async function main() {
}
console.info('Creating source tarball for code validation...');
process.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 joplin-webclipper-source'));
console.info(await execCommand(`mv joplin-webclipper-source.zip ${clipperDir}/dist/ && rm -rf joplin-webclipper-source`));