Prepare releases

This commit is contained in:
Thomas Nordquist
2019-01-07 13:59:22 +01:00
parent 5123207ea1
commit e945721221
6 changed files with 17 additions and 8865 deletions

View File

@@ -1,4 +1,19 @@
#!/bin/bash
DIR=build/topackage
rm -rf "$DIR"
mkdir -p "$DIR"
git clone .git "$DIR"
ORIGINAL_DIR=`pwd`
cd $DIR
cd app && npm install; cd ..
cd backend && npm install; cd ..
npm run build
rm -rf app/node_modules
cd "$ORIGINAL_DIR"
docker run --rm -ti \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \