From c913b5f773481710321be5d09acf74a111899178 Mon Sep 17 00:00:00 2001 From: Clark McAdoo Date: Thu, 31 Oct 2024 15:14:36 -0500 Subject: [PATCH] feat: Add kubernetes to the list of release notes for the json generation --- scripts/releaseNotes.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/releaseNotes.mjs b/scripts/releaseNotes.mjs index 881cc23deaa..86f62cf97d8 100755 --- a/scripts/releaseNotes.mjs +++ b/scripts/releaseNotes.mjs @@ -63,6 +63,7 @@ const INCLUDE_AGENTS = new Set([ 'infrastructure', 'ios', 'java', + 'kubernetes', 'node', 'nodejs', 'php', @@ -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);