1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Fix clipper release script

This commit is contained in:
Laurent Cozic 2020-03-02 18:21:35 +00:00
parent 8632ef34eb
commit 6807f7e07b
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -42,6 +42,9 @@ ReactNativeClient/lib/csstojs/
ReactNativeClient/lib/rnInjectedJs/
ElectronClient/gui/note-viewer/fonts/
ElectronClient/gui/note-viewer/lib.js
Clipper-source/
Clipper/joplin-webclipper-source.zip
joplin-webclipper-source.zip
Tools/commit_hook.txt
.vscode/*
*.map

View File

@ -82,6 +82,7 @@ async function main() {
}
console.info('Creating source tarball for code validation...');
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}"`));