build(aio): fix deployment script (#23234)

PR Close #23234
This commit is contained in:
George Kalpakas 2018-04-13 22:41:32 +03:00 committed by Jason Aden
parent 4f29287399
commit 0a536af093
1 changed files with 2 additions and 2 deletions

View File

@ -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/