Fixed #10 - Added support for internalsharing uploading

This commit is contained in:
Drew Heavner
2020-08-20 13:32:14 -04:00
parent 290e6a13bf
commit caa567f814
5 changed files with 110 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ async function run() {
const authClient = await auth.getClient();
await uploadRelease({
const downloadUrl = await uploadRelease({
auth: authClient,
applicationId: packageName,
track: track,
@@ -78,6 +78,11 @@ async function run() {
mappingFile: mappingFile
}, releaseFile);
if (downloadUrl) {
core.setOutput('internalSharingDownloadUrl', downloadUrl);
core.exportVariable('INTERNAL_SHARING_DOWNLOAD_URL', downloadUrl);
}
console.log(`Finished uploading ${releaseFile} to the Play Store`)
} catch (error) {
core.setFailed(error.message)