add react_app_version to build script

This commit is contained in:
Mikhail Mikheev 2019-12-18 16:23:48 +04:00
parent 75e3b495f0
commit 65f4d98266
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,6 @@ os:
env:
global:
- DOCKER_COMPOSE_VERSION=1.22.0
- REACT_APP_APP_VERSION=$npm_package_version
matrix:
include:
- env:

View File

@ -16,8 +16,8 @@
"test": "test"
},
"scripts": {
"build": "node scripts/build.js",
"build-mainnet": "REACT_APP_NETWORK=mainnet yarn build",
"build": "REACT_APP_APP_VERSION=$npm_package_version node scripts/build.js",
"build-mainnet": "REACT_APP_APP_VERSION=$npm_package_version REACT_APP_NETWORK=mainnet yarn build",
"flow": "flow",
"precommit": "./precommit.sh",
"start": "node scripts/start.js",