diff --git a/src/whatsnew.ts b/src/whatsnew.ts index f4d5f4b7..a5c7e1c2 100644 --- a/src/whatsnew.ts +++ b/src/whatsnew.ts @@ -8,7 +8,7 @@ import LocalizedText = androidpublisher_v3.Schema$LocalizedText; export async function readLocalizedReleaseNotes(whatsNewDir: string | undefined): Promise { if (whatsNewDir != undefined && whatsNewDir.length > 0) { const releaseNotes = fs.readdirSync(whatsNewDir) - .filter(value => /whatsnew-.*-.{2}\b/.test(value)); + .filter(value => /whatsnew-.*-.{2,3}\b/.test(value)); const pattern = /whatsnew-(?.*-.*)/; let localizedReleaseNotes: LocalizedText[] = []; @@ -37,4 +37,4 @@ export async function readLocalizedReleaseNotes(whatsNewDir: string | undefined) return localizedReleaseNotes } return undefined -} \ No newline at end of file +}