Skip to content

Commit

Permalink
feat: Add kubernetes to the list of release notes for the json genera…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
clarkmcadoo committed Oct 31, 2024
1 parent 833e94d commit c913b5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/releaseNotes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const INCLUDE_AGENTS = new Set([
'infrastructure',
'ios',
'java',
'kubernetes',
'node',
'nodejs',
'php',
Expand Down Expand Up @@ -137,9 +138,8 @@ const validateReleaseNotesAgents = (releaseNotes) => {
const errors = [];

JSON_AGENTS.forEach((agent) => {
const agentsCount = releaseNotes.filter(
(note) => note.agent === agent
).length;
const agentsCount = releaseNotes.filter((note) => note.agent === agent)
.length;
if (agentsCount < 1) {
const message = `\n😵 No release notes found for ${agent}`;
errors.push(message);
Expand Down

0 comments on commit c913b5f

Please sign in to comment.