Gaëtan Renaudeau
7 years ago
committed by
GitHub
5 changed files with 17 additions and 12 deletions
@ -0,0 +1,12 @@ |
|||||
|
#/bin/bash |
||||
|
|
||||
|
set -e |
||||
|
|
||||
|
export GIT_REVISION=`git rev-parse HEAD` |
||||
|
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561 |
||||
|
|
||||
|
rm -rf ./node_modules/.cache dist |
||||
|
yarn |
||||
|
rm -rf dist && |
||||
|
NODE_ENV=production yarn run webpack-cli --mode production --config webpack/internals.config.js && |
||||
|
NODE_ENV=production yarn run electron-webpack |
@ -1,11 +1,3 @@ |
|||||
#/bin/bash |
#/bin/bash |
||||
|
|
||||
set -e |
yarn compile && DEBUG=electron-builder electron-builder |
||||
|
|
||||
export GIT_REVISION=`git rev-parse HEAD` |
|
||||
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561 |
|
||||
|
|
||||
rm -rf ./node_modules/.cache dist |
|
||||
yarn |
|
||||
NODE_ENV=production webpack-cli --mode production --config webpack/internals.config.js |
|
||||
NODE_ENV=production electron-webpack |
|
||||
|
Loading…
Reference in new issue