File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 "documentation" : "Documentation" ,
1717 "maintenance" : "Maintenance" ,
1818 "unknown" : "UNKNOWN (Needs Manual Categorization)" ,
19+ "skip-changelog" : None ,
1920}
2021
2122
@@ -138,8 +139,10 @@ def make_notes(contrib_data: dict, version: str):
138139 f"Compatible with OpenSearch and OpenSearch Dashboards version { version } \n \n "
139140 )
140141 for lcat , title in LABEL_CATEGORIES .items ():
141- if len (categories [lcat ]) == 0 :
142+ if len (categories [lcat ]) == 0 or lcat == "skip-changelog" :
142143 continue
144+ if lcat == "breaking" :
145+ print ("\033 [33mWARNING: there are breaking changes. These can only occur in major releases.\033 [0m" , file = sys .stderr )
143146 result += f"### { title } \n "
144147 for pull_req in sorted (
145148 categories [lcat ], key = lambda p : int (p ["pull_req" ]), reverse = True
You can’t perform that action at this time.
0 commit comments