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

@@ -106,7 +106,7 @@ async function run() {
const authClient = await auth.getClient();
await uploadToPlayStore({
const result = await uploadToPlayStore({
auth: authClient,
applicationId: packageName,
track: track,
@@ -117,7 +117,7 @@ async function run() {
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)
}