From e760c8a5c605224502a982a7db2836970db3f88a Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 15 Aug 2024 14:58:38 +0000 Subject: [PATCH] ignore docs in release notes --- packages/sample/genaisrc/git-release-notes.genai.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sample/genaisrc/git-release-notes.genai.js b/packages/sample/genaisrc/git-release-notes.genai.js index b6c1b74bcd..6d4aa5b6bb 100644 --- a/packages/sample/genaisrc/git-release-notes.genai.js +++ b/packages/sample/genaisrc/git-release-notes.genai.js @@ -23,13 +23,14 @@ const { stdout: diff } = await host.exec("git", [ `${tag}..HEAD`, "--no-merges", "--", - "docs/**", ":!**/package.json", ":!**/genaiscript.d.ts", ":!**/jsconfig.json", + ":!docs/**", ":!.github/*", ":!.vscode/*", ":!yarn.lock", + ":!THIRD_PARTY_NOTICES.md", ]) const commitsName = def("COMMITS", commits, { maxTokens: 4000 })