Removed call to developer api to pull the releaseName for the edit and instead used result from actual update to the track.

Added more debug logging.
This commit is contained in:
Drew Heavner
2020-12-10 11:36:45 -05:00
parent f9a7fda708
commit 2f949adc6e
5 changed files with 37 additions and 34 deletions

View File

@@ -128,7 +128,7 @@ function run() {
return;
}
const authClient = yield auth.getClient();
yield edits_1.uploadToPlayStore({
const result = yield edits_1.uploadToPlayStore({
auth: authClient,
applicationId: packageName,
track: track,
@@ -138,7 +138,7 @@ function run() {
mappingFile: mappingFile,
name: releaseName
}, validatedReleaseFiles);
console.log(`Finished uploading to the Play Store`);
console.log(`Finished uploading to the Play Store: ${result}`);
}
catch (error) {
core.setFailed(error.message);