Bumped version for release
Adjusted 'packageName' order in params to be consistent
This commit is contained in:
@@ -255,9 +255,9 @@ function getPublishedReleaseName(appEdit, options) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const track = yield androidPublisher.edits.tracks.get({
|
||||
auth: options.auth,
|
||||
packageName: options.applicationId,
|
||||
editId: appEdit.id,
|
||||
track: options.track,
|
||||
packageName: options.applicationId
|
||||
track: options.track
|
||||
});
|
||||
const release = track.data.releases[0]; // We only ever create one release, so grab the first one
|
||||
return release.name;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "upload-google-play",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.9",
|
||||
"private": true,
|
||||
"description": "Upload an Android release (.apk or .aab) to Google Play Console",
|
||||
"main": "lib/main.js",
|
||||
|
||||
@@ -244,10 +244,10 @@ async function uploadBundle(appEdit: AppEdit, options: EditOptions, bundleReleas
|
||||
async function getPublishedReleaseName(appEdit: AppEdit, options: EditOptions): Promise<String | null | undefined> {
|
||||
const track = await androidPublisher.edits.tracks.get({
|
||||
auth: options.auth,
|
||||
packageName: options.applicationId,
|
||||
editId: appEdit.id!,
|
||||
track: options.track,
|
||||
packageName: options.applicationId
|
||||
track: options.track
|
||||
})
|
||||
const release = track.data.releases![0] // We only ever create one release, so grab the first one
|
||||
return release.name
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user