Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8ef4b661c | ||
|
|
264c36bf24 | ||
|
|
8e8abbe013 | ||
|
|
350f04f6ed | ||
|
|
e18996b17e | ||
|
|
af37686362 |
@@ -72,6 +72,10 @@ The mapping.txt file used to de-obfuscate your stack traces from crash reports
|
||||
|
||||
## Outputs
|
||||
|
||||
### `releaseName`
|
||||
|
||||
The name of the release published to Google Play, which is generated on commit by default
|
||||
|
||||
### `internalSharingDownloadUrl`
|
||||
|
||||
The download url for an app that was uploaded using the `track` `internalsharing`
|
||||
|
||||
@@ -80,7 +80,8 @@ function uploadToPlayStore(options, releaseFiles) {
|
||||
// Simple check to see whether commit was successful
|
||||
if (res.data.id != null) {
|
||||
core.debug(`Successfully committed ${res.data.id}`);
|
||||
core.setOutput("releaseName", getPublishedReleaseName(res.data, options));
|
||||
const name = options.name || (yield getPublishedReleaseName(res.data, options));
|
||||
core.setOutput("releaseName", name);
|
||||
return Promise.resolve(res.data.id);
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -77,7 +77,8 @@ 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}`);
|
||||
core.setOutput("releaseName", getPublishedReleaseName(res.data, options))
|
||||
const name = options.name || (await getPublishedReleaseName(res.data, options));
|
||||
core.setOutput("releaseName", name)
|
||||
return Promise.resolve(res.data.id!);
|
||||
} else {
|
||||
core.setFailed(`Error ${res.status}: ${res.statusText}`);
|
||||
|
||||
Reference in New Issue
Block a user