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