Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -103,6 +103,7 @@ async function trackVersionCode(appEdit: AppEdit, options: EditOptions, versionC
|
||||
packageName: options.applicationId,
|
||||
track: options.track,
|
||||
requestBody: {
|
||||
track: options.track,
|
||||
releases: [
|
||||
{
|
||||
userFraction: options.userFraction,
|
||||
|
||||
@@ -8,7 +8,7 @@ import LocalizedText = androidpublisher_v3.Schema$LocalizedText;
|
||||
export async function readLocalizedReleaseNotes(whatsNewDir: string | undefined): Promise<LocalizedText[] | undefined> {
|
||||
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-(?<local>.*-.*)/;
|
||||
|
||||
let localizedReleaseNotes: LocalizedText[] = [];
|
||||
@@ -37,4 +37,4 @@ export async function readLocalizedReleaseNotes(whatsNewDir: string | undefined)
|
||||
return localizedReleaseNotes
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user