SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

chore(doc-gen): insert current tagged version if missing from list of all versions

In commit ce49edc08b3d642f3768f4282d391062d2f83037, we switched to npm info (now yarn info)
instead of the local git repository information to get the list of currently available versions for
the docs app. This means that during a release the version that is currently tagged is not yet
available on npm, and therefore our list of available versions is incomplete.

We now simply add the current build version (read from build/version.json) to the list of all
versions if it fulfills the following conditions:

- it is not a snapshot build
- it is not already part of the list of all versions (i.e. if you are building locally on a tagged commit)

Closes #15741
Closes #16099
M
Martin Staffa committed
e970c8fce91268ea03db8ee712c9dfb3f6d373a5
Parent: 04271d6
Committed by Martin Staffa <mjstaffa@gmail.com> on 7/12/2017, 9:34:34 AM