If a version number is supplied to the build command, make sure to report that
[arvados-workbench2.git] / package.json
index 0e5805a3774981c97c71bd77a09e569fe27caec9..68d23bfaaab79b07b71fc077a0df18bb381a1b8c 100644 (file)
@@ -53,7 +53,7 @@
   },
   "scripts": {
     "start": "react-scripts-ts start",
-    "build": "REACT_APP_BUILD_NUMBER=$BUILD_NUMBER REACT_APP_GIT_COMMIT=$GIT_COMMIT react-scripts-ts build",
+    "build": "REACT_APP_VERSION=$VERSION REACT_APP_BUILD_NUMBER=$BUILD_NUMBER REACT_APP_GIT_COMMIT=$GIT_COMMIT react-scripts-ts build",
     "build-local": "react-scripts-ts build",
     "test": "CI=true react-scripts-ts test --env=jsdom",
     "test-local": "react-scripts-ts test --env=jsdom",