Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Docs app: version data for 1.6.0-rc.0 is incorrect #15369

@Narretz

Description

@Narretz

The NG_VERSION constant for 1.6.0-rc.0 looks like this:

{
  "raw": "v1.5.8",
  "major": 1,
  "minor": 5,
  "patch": 9,
  "prerelease": [
    "build",
    "195"
  ],
  "build": "sha.1cf01d6",
  "version": "1.5.9-build.195",
  "codeName": "snapshot",
  "isSnapshot": true,
  "full": "1.5.9-build.195+sha.1cf01d6",
  "branch": "master",
  "commitSHA": "1cf01d6fa7fcfb45bef46e4a800845ae8ab90b06"
}

which means rc.0 is incorrectly identified as master / snapshot on the docs site (specifically in the version picker). Do we know why the version isn't marked as 1.6.0-rc.0? The version.json file has the correct info:

{
  "raw": "v1.6.0-rc.0",
  "major": 1,
  "minor": 6,
  "patch": 0,
  "prerelease": [
    "rc",
    0
  ],
  "build": [],
  "version": "1.6.0-rc.0",
  "codeName": "bracing-vortex",
  "full": "1.6.0-rc.0",
  "branch": "v1.6.x",
  "cdn": {
    "raw": "v1.5.8",
    "major": 1,
    "minor": 5,
    "patch": 8,
    "prerelease": [],
    "build": [],
    "version": "1.5.8",
    "docsUrl": "http://code.angularjs.org/1.5.8/docs"
  }
}

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions