-
Notifications
You must be signed in to change notification settings - Fork 734
Assets is now category in the release notes #3005
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
@adids1221 Can we do the same to intl? |
scripts/prReleaseNotesCommon.js
Outdated
@@ -99,12 +100,14 @@ function getPRsByType(PRs) { | |||
fixes.push(pr); | |||
} else if (pr.branch.startsWith('infra/')) { | |||
infra.push(pr); | |||
} else if (pr.branch.startsWith('assets/') || pr.branch.startsWith('Assets/')) { |
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.
instead of checking both assets
and Assets
you can use toLowerCase on the branch name and check only against assets
scripts/prReleaseNotesCommon.js
Outdated
...categories, | ||
{name: 'others', branch: '', title: 'OTHERS'}, | ||
{ | ||
name: 'silentPRs', |
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.
'silent' is enough IMO
Description
Release notes script now accepts
categories
to make it generic for privatecategories
.The script will support any category in the structure of:
{name: 'category', branch: 'cat/', title: 'title for the release notes'}
Changelog
none
Additional info