Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update buildAll.sh to use npm dist from root

ZachTRicec6d0efacafba
diff --git a/tasks/bamboo/buildAll.sh b/tasks/bamboo/buildAll.sh
index 711cfd621..8a441f408 100755
--- a/tasks/bamboo/buildAll.sh
+++ b/tasks/bamboo/buildAll.sh
@@ -2,19 +2,12 @@
# Bash commands to run in Bamboo to prepare an rpm for deployment
-BASE=$(dirname "$0")/..
+BASE=$(dirname "$0")/../..
# Bamboo automatically sets NODE_ENV to production. Override this so that
# devDependencies are installed.
npm ci --production=false --ignore-scripts
node node_modules/.bin/patch-package --allow-root
-# pipenv run bash $BASE/tasks/distExplict.sh
-# Replacement of npm run dist
-# Needed for bamboo to avoid permission errors with npm
-node $BASE/tasks/util/clean.js
-FETCH_GC=1 $BASE/tasks/buildOptions.sh
-$BASE/tasks/buildOptions.sh
-node $BASE/tasks/util/config.js
-NODE_ENV=production npx webpack
-node $BASE/tasks/util/dist.js
+cd $BASE
+npm run dist