diff --git a/build.sh b/build.sh index c456d889c..501af3e5d 100755 --- a/build.sh +++ b/build.sh @@ -17,8 +17,12 @@ cp -r ../trilium-node-binaries/scrypt/* node_modules/scrypt/bin/ # can't copy this before the packaging because the same file name is used for both linux and windows build cp ../trilium-node-binaries/scrypt.node ./dist/trilium-win32-x64/resources/app/node_modules/scrypt/build/Release/ +VERSION=`jq -r ".version" package.json` + echo "Packaging windows distribution..." -# possibly use zip: zip -r myfiles.zip mydir +7z a dist/trilium-windows-${VERSION}.7z dist/trilium-win32-x64 + +echo "Packaging linux distribution..." +tar cfJ dist/trilium-linux-${VERSION}.tar.xz dist/trilium-linux-x64 -tar cfJ dist/win.tar.xz dist/trilium-win32-x64 \ No newline at end of file diff --git a/services/build.js b/services/build.js index da774956e..2de7cbfb9 100644 --- a/services/build.js +++ b/services/build.js @@ -1 +1 @@ -module.exports = { build_date:"2017-12-23T14:02:07-05:00", build_revision: "51215cba1bd2da8a539e86dbd31004cf9adb3f93" }; +module.exports = { build_date:"2017-12-24T23:10:42-05:00", build_revision: "8c7977906083eb7f7c793ad1e1dc1c9bc575f4bd" };