-
Notifications
You must be signed in to change notification settings - Fork 26.2k
feat(dev-infra): Set up new common release notes generation tooling #41905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
aee664d to
2333661
Compare
|
Can you therefore delete this file: https://github.com/angular/angular/blob/master/tools/gulp-tasks/changelog.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall. Just a few minor comments.
Great improvement!! much simpler and more reliable.
dev-infra/release/publish/actions/move-next-into-feature-freeze.ts
Outdated
Show resolved
Hide resolved
dev-infra/release/publish/actions.ts
Outdated
| newVersion: semver.SemVer, pullRequestBaseBranch: string): Promise<PullRequest> { | ||
| newVersion: semver.SemVer, pullRequestBaseBranch: string): | ||
| Promise<{releaseNotes: ReleaseNotes, pullRequest: PullRequest}> { | ||
| const releaseNotes = new ReleaseNotes(newVersion, this.config); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@josephperrott What do you think of making the ReleaseNotes constructor private and exposing a static method like ReleaseNotes.fromLatestTagToHead. I'm proposing this because right now it's not quite clear that the commits are determined at this point. This is relevant/important because if we'd not do that here, then later if we cherry-pick release notes with the next branch checked out, the commits would be different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, I also made it async so that we are able to leverage that if needed in the future. I could see us wanting to have the commit list retrieval be handled in the static builder method potentially in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed 👍
2333661 to
6324e04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! (lint seems to be failing; but other than that this looks great to me)
6324e04 to
9571fbf
Compare
Enables the new common release notes generation within the ng-dev release publishing tooling.
Update the ng-dev config for release to use the new release notes system for generating release notes.
9571fbf to
ebaf98f
Compare
|
This had a trivial conflict with the patch branch (the built |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Enables the new common release notes generation within the ng-dev release publishing tooling.