angular-docs-cn/dev-infra/release/versioning
Paul Gschwendtner f29fe5ced0 fix(dev-infra): use API pagination for retrieving project branches (#42666)
We rely on a Github API `/branches` request to determine the active
release trains. Currently this logic is broken if more than 100
protected branches exist within a repository. This issue surfaced
recently where the `items_per_page` setting was set to `30`, causing
the merge tooling and release tooling to not detect the proper "latest"
release train.

This commit uses Github pagination for retrieving branches to determine
the active release trains, and makes the logic more long-term proof.

PR Close #42666
2021-06-29 10:33:54 -07:00
..
BUILD.bazel build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#39182) 2020-10-08 11:54:59 -07:00
README.md refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
active-release-trains.ts refactor(dev-infra): update octokit to latest version v18 (#42666) 2021-06-29 10:33:54 -07:00
inc-semver.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
index.ts refactor(dev-infra): move common versioning tooling to shared location (#38656) 2020-09-28 16:11:40 -04:00
long-term-support.ts refactor(dev-infra): improve type safety of NPM dist tags in release tool (#42133) 2021-05-18 14:04:14 -07:00
next-prerelease-version.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
npm-publish.ts refactor(dev-infra): improve type safety of NPM dist tags in release tool (#42133) 2021-05-18 14:04:14 -07:00
npm-registry.ts refactor(dev-infra): improve type safety of NPM dist tags in release tool (#42133) 2021-05-18 14:04:14 -07:00
print-active-trains.ts refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
release-trains.ts refactor(dev-infra): move common versioning tooling to shared location (#38656) 2020-09-28 16:11:40 -04:00
version-branches.ts fix(dev-infra): use API pagination for retrieving project branches (#42666) 2021-06-29 10:33:54 -07:00

README.md

Versioning for the Angular organization

The folder contains common tooling needed for implementing the versioning as proposed by this design document. Primary tooling is the determination of active release trains.