Skip to content

Commit

Permalink
Add await to getPublishedReleaseName
Browse files Browse the repository at this point in the history
  • Loading branch information
boswelja committed Dec 8, 2020
1 parent e18996b commit 350f04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function uploadToPlayStore(options: EditOptions, releaseFiles: stri
// Simple check to see whether commit was successful
if (res.data.id != null) {
core.debug(`Successfully committed ${res.data.id}`);
const name = options.name || getPublishedReleaseName(res.data, options);
const name = options.name || (await getPublishedReleaseName(res.data, options));
core.setOutput("releaseName", name)
return Promise.resolve(res.data.id!);
} else {
Expand Down

0 comments on commit 350f04f

Please sign in to comment.