-
Notifications
You must be signed in to change notification settings - Fork 578
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
Implement centralized config for Release Note generation #6099
Conversation
Release note changesNo release note changes were detected. If you made changes that should be |
Size Report 1Affected ProductsNo changes between base commit (f23f6f1) and merge commit (6b47830).Test Logs |
Coverage Report 1Affected Products
Test Logs |
@@ -19,7 +19,9 @@ plugins { | |||
firebaseLibrary { | |||
publishSources = true | |||
publishJavadoc = false | |||
publishReleaseNotes = false | |||
releaseNotes { | |||
enabled.set(false) |
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.
why are these set
rather than =
like publish*
?
Per b/352342089,
This implements a new extension through
FirebaseLibrary
calledReleaseNotesConfigurationExtension
. This can be configured through thereleaseNotes
helper method that takes anAction
argument; similar to what we do withFirebaseTestLabExtension
andFirebaseStaticAnalysis
.The goal of this move is to not only allow teams to modify their release notes metadata, but provide an obvious indicator of release note configuration that must be changed to properly generate release notes. This way, we avoid accidentally not generating release notes for libraries that should otherwise have them.
Furthermore, this opens the door for exposing more release note configurations to product teams (such as
annotationsNotToDisplay
,suppressedFiles
,includedHeadTagsPath
,package-list
mappings, etc.,).NO_RELEASE_CHANGE