angular-cn/dev-infra/release
Paul Gschwendtner 372a6cf8d7 feat(dev-infra): add release command for setting NPM dist tag (#38656)
Introduces a new command for `ng-dev release`, so that the NPM
dist tag can be set for all configured NPM packages. This command
can be useful in case a manual tag needs to be set, but it is
primarily used by the release tooling when a new stable version
is cut, and when the previous patch branch needs to be set as LTS
version through a `v{major}-lts` dist tag.

It is necessary to have this as a command so that the release tool
can execute it for old branches where other packages might have been
configured. This is similar to the separate `ng-dev build` command
that we created.

Note that we also added logic for spawning a process conveniently
with different "console output" modes. This will be useful for
other command invocations in the release tool and it's generally
better than directly using native `child_process` as that one doesn't
log to the dev-infra debug log file.

PR Close #38656
2020-09-28 16:11:42 -04:00
..
build feat(dev-infra): add command for building release output (#38656) 2020-09-28 16:11:42 -04:00
config feat(dev-infra): introduce new configuration for release tool (#38656) 2020-09-28 16:11:40 -04:00
set-dist-tag feat(dev-infra): add release command for setting NPM dist tag (#38656) 2020-09-28 16:11:42 -04:00
stamping refactor(dev-infra): move existing env-stamp command into subfolder (#38656) 2020-09-28 16:11:42 -04:00
versioning feat(dev-infra): add release command for setting NPM dist tag (#38656) 2020-09-28 16:11:42 -04:00
BUILD.bazel feat(dev-infra): add release command for setting NPM dist tag (#38656) 2020-09-28 16:11:42 -04:00
cli.ts feat(dev-infra): add release command for setting NPM dist tag (#38656) 2020-09-28 16:11:42 -04:00