Skip to content

Commit 22a94e9

Browse files
20240719 release, with some error handling in the release Notes generator
1 parent 4c124c4 commit 22a94e9

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

bin/releaseNotes.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,12 @@ def printIssues(self, issues):
113113
for issue in issues:
114114
self.console.print(f"[orange3]{issue['key']}, {issue['summary']}, {issue['resolution']}")
115115
for sub_issue in issue.get('issues'):
116-
notes = sub_issue.get('notes')
116+
notes = sub_issue.get('notes', '')
117117
color = "green"
118+
if notes is None:
119+
print(f"Notes for {sub_issue.get('key')} is |{notes}|")
120+
121+
notes = ""
118122
isInternal = self.internal.search(notes)
119123
if isInternal:
120124
color = "red"
@@ -134,7 +138,9 @@ def printReleaseNotes(self, issues):
134138
self.console.print(template, highlight=False)
135139
for issue in issues:
136140
for sub_issue in issue.get('issues'):
137-
notes = sub_issue.get('notes')
141+
notes = sub_issue.get('notes', '')
142+
if notes is None:
143+
notes = ''
138144
isInternal = self.internal.search(notes)
139145
if isInternal is None:
140146
self.console.print(f"- {notes}. {sub_issue.get('summary')} {sub_issue.get('key')}")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Release notes: July 19, 2024"
3+
date: "2024-07-19"
4+
tags:
5+
- "release notes"
6+
---
7+
8+
#### API
9+
10+
- Added check for active account state.. SendGrid - Addresses "Failed to disconnect the billing item resource" IMAGE-2371
11+
- refactor isNfsCapable to isNfsOnly. Changing label from isNfsCapable to isNfsOnly METAL-6221
12+

0 commit comments

Comments
 (0)