angular-cn/scripts
Peter Bacon Darwin 10897d6473 ci(aio): compute AIO deployment mode
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.

If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".

Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".

For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.

As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.

See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
..
browserstack ci: clean up CI logging, folding, add build time logging, and improve error handling (#14425) 2017-03-02 00:22:24 -08:00
build build: add source maps into NPM distribution (#15159) 2017-03-16 12:55:15 -07:00
ci ci(aio): compute AIO deployment mode 2017-08-04 09:14:18 -07:00
cldr fix(common): always use 'other' case for locales with no plural rules (#16990) 2017-05-30 10:46:36 -07:00
jenkins fix(build): make perf tests work again 2015-02-27 15:22:19 -08:00
sauce ci: disable sauce-connect logging for realz (#17995) 2017-07-07 11:59:40 -07:00
windows build: update symlink scripts for Windows (#14987) 2017-03-15 17:13:54 -07:00