MCPcopy Create free account
hub / github.com/angular/angular / setVersion

Function setVersion

devtools/projects/shell-browser/set-version.js:25–30  ·  view source on GitHub ↗
(nextVersion)

Source from the content-addressed store, hash-verified

23console.log('Current version name', chalk.yellow(manifest.version_name));
24
25const setVersion = (nextVersion) => {
26 manifest.version = nextVersion;
27 manifest.version_name = nextVersion;
28
29 writeFileSync(MANIFEST_PATH, JSON.stringify(manifest, null, 2));
30};
31
32const answerMap = {
33 yes: true,

Callers 1

set-version.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected