Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/process/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ using the `--githubToken` flag. You just then have to confirm the draft.

**For each released version**:

Update the package versions to reflect the *next* release version in **both**:
1. `version` in [`package.json`](https://github.com/angular/angular-cli/blob/master/package.json#L3)
1. `DevkitBuildAngular` in [`packages/schematics/angular/utility/latest-versions.ts`](https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/utility/latest-versions.ts)
Update `version` in root [`package.json`](/package.json#L3) to the *next* release version.

```sh
git checkout -b release-bump-vXX
Expand Down
9 changes: 4 additions & 5 deletions packages/schematics/angular/utility/latest-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ export const latestVersions = {
TypeScript: '~4.2.3',
TsLib: '^2.1.0',

// The versions below must be manually updated when making a new devkit release.
// For our e2e tests, these versions must match the latest tag present on the branch.
// During RC periods they will not match the latest RC until there's a new git tag, and
// should not be updated.
DevkitBuildAngular: '~12.1.0-next.0',
// Since @angular-devkit/build-angular and @schematics/angular are always
// published together from the same monorepo, and they are both
// non-experimental, they will always have the same version.
DevkitBuildAngular: '~' + require('../package.json')['version'],

ngPackagr: '^12.0.0-next.8',
};