move app bootstrap script to scripts

This commit is contained in:
2019-03-24 15:45:17 +01:00
parent 1679afb9b4
commit 14b23ecdf1

22
scripts/deploy-apps.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
rootDir=`pwd`
echo "## Kredits app bootstrap"
echo ""
echo "Setting up each aragon app in ./apps"
echo "a new app version will be deployed"
echo "----"
for dir in ./apps/*/; do
set -x
cd $dir
npm install
aragon apm publish major
cd $rootDir
set +x
done
echo "Done, new versions of all apps deployed"