Test Branch

Transactions
Dan 2017-11-03 10:04:57 -06:00
parent 0ed6654043
commit d02c2bb67d
1 changed files with 10 additions and 3 deletions

View File

@ -1,14 +1,21 @@
#!/bin/sh #!/bin/sh
BUILD_ANGULAR_ARG=$1 BRANCH=$1
BUILD_ANGULAR=true BUILD_ANGULAR_ARG=$2
BUILD_ANGULAR=false
if [ "$BUILD_ANGULAR_ARG" = -ng ]; then if [ "$BUILD_ANGULAR_ARG" = -ng ]; then
BUILD_ANGULAR=true BUILD_ANGULAR=true
fi fi
echo "Build Angular = $BUILD_ANGULAR" echo "Build Angular = $BUILD_ANGULAR"
echo "Branch Name = $BRANCH"
if [ "$BRANCH" = test]; then
cd /home/ofbbutte/webapps/ofb_angular/ cd /home/ofbbutte/webapps/ofb_angular/
fi
if [ "$BRANCH" = master]; then
cd /home/ofbbutte/webapps/ofb_angular_test/
fi
echo "Node Version" echo "Node Version"
bin/node --version bin/node --version
echo "NPM Version" echo "NPM Version"