|
@ -2,11 +2,10 @@ |
|
|
|
|
|
|
|
|
set -e |
|
|
set -e |
|
|
|
|
|
|
|
|
GIT_REVISION=`git rev-parse HEAD` |
|
|
export GIT_REVISION=`git rev-parse HEAD` |
|
|
SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561 |
|
|
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561 |
|
|
NODE_ENV=production |
|
|
|
|
|
|
|
|
|
|
|
rm -rf ./node_modules/.cache dist |
|
|
rm -rf ./node_modules/.cache dist |
|
|
JOBS=max yarn |
|
|
JOBS=max yarn |
|
|
yarn run webpack-cli --mode production --config webpack/internals.config.js |
|
|
NODE_ENV=production yarn run webpack-cli --mode production --config webpack/internals.config.js |
|
|
yarn run electron-webpack |
|
|
NODE_ENV=production yarn run electron-webpack |
|
|