Prepare releases
This commit is contained in:
15
release.sh
15
release.sh
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user