From bf89fcb3617b59edf815c291911a187c16b151ad Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 13 Apr 2018 22:41:32 +0300 Subject: [PATCH] build(aio): fix deployment script (#23234) PR Close #23234 --- aio/scripts/deploy-to-firebase.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/scripts/deploy-to-firebase.sh b/aio/scripts/deploy-to-firebase.sh index 3c28912e68..3133f77161 100755 --- a/aio/scripts/deploy-to-firebase.sh +++ b/aio/scripts/deploy-to-firebase.sh @@ -20,7 +20,7 @@ fi if [[ $TRAVIS_BRANCH == master ]]; then readonly deployEnv=next elif [[ $TRAVIS_BRANCH == $STABLE_BRANCH ]]; then - readonly deployEnv=stable + readonly deployEnv=stable else # Extract the major versions from the branches, e.g. the 4 from 4.3.x readonly majorVersion=${TRAVIS_BRANCH%%.*} @@ -87,7 +87,7 @@ fi cd "`dirname $0`/.." # Build the app - yarn build --env=$deployEnv + yarn build --configuration=$deployEnv # Include any mode-specific files cp -rf src/extra-files/$deployEnv/. dist/