diff --git a/lib/edits.js b/lib/edits.js index 4c513f58..736b20e4 100644 --- a/lib/edits.js +++ b/lib/edits.js @@ -38,7 +38,7 @@ const androidPublisher = googleapis_1.google.androidpublisher('v3'); function uploadToPlayStore(options, releaseFiles) { return __awaiter(this, void 0, void 0, function* () { // Check the 'track' for 'internalsharing', if so switch to a non-track api - if (options.track === 'internalappsharing') { + if (options.track === 'internalsharing') { core.debug("Track is Internal app sharing, switch to special upload api"); releaseFiles.forEach((releaseFile) => __awaiter(this, void 0, void 0, function* () { core.debug(`Uploading ${releaseFile}`); diff --git a/src/edits.ts b/src/edits.ts index 5f57ecfd..2f3d917d 100644 --- a/src/edits.ts +++ b/src/edits.ts @@ -29,7 +29,7 @@ export interface EditOptions { export async function uploadToPlayStore(options: EditOptions, releaseFiles: string[]): Promise { // Check the 'track' for 'internalsharing', if so switch to a non-track api - if (options.track === 'internalappsharing') { + if (options.track === 'internalsharing') { core.debug("Track is Internal app sharing, switch to special upload api") releaseFiles.forEach(async releaseFile => { core.debug(`Uploading ${releaseFile}`);