bitrise-steplib / steps-google-play-deploy

MIT License
54 stars 38 forks source link

Failed to update track, reason: could not find track with name alpha #71

Closed asafron closed 4 years ago

asafron commented 4 years ago

Version: 3.0.1

While trying to upload my bundle to Google Play, I'm getting the following error:

+------------------------------------------------------------------------------+

| (11) google-play-deploy@3.0.1                                                |
+------------------------------------------------------------------------------+
| id: google-play-deploy                                                       |
| version: 3.0.1                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2020-01-14T09:14:06Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Getting configuration
Configs:
- JSONKeyPath: *****
- PackageName: com.*******
- AppPath: /Users/vagrant/deploy/app-bitrise-signed.aab
- ExpansionfilePath: 
- Track: alpha
- UserFraction: 0
- WhatsnewsDir: 
- MappingFile: 
Found .aab file: /Users/vagrant/deploy/app-bitrise-signed.aab
Configuration read successfully
Authenticating
Authenticated client created
Create new edit
 editID: 08320503260385831011
Edit insert created
Upload apks or app bundles
Found .aab file: /Users/vagrant/deploy/app-bitrise-signed.aab
Uploading /Users/vagrant/deploy/app-bitrise-signed.aab 1/1
Uploaded app bundle version: 2
Done uploading of 1 apps
New version codes to upload: [2]
Applications uploaded
Update track
Listing tracks
internal track:
- '1.0' release versionCodes: [1], status: 'completed'
Failed to update track, reason: could not find track with name alpha
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | google-play-deploy@3.0.1 (exit code: 1)                       | 1.1 min  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-google-play-deploy/issues |
| Source: https://github.com/bitrise-io/steps-google-play-deploy               |
+---+---------------------------------------------------------------+----------+

Alpha is a built-in track. How can it not find it?

asafron commented 4 years ago

After setup everything manually (again) on the Google Play Developer Console, specifically on the alpha track, everything working as expected.

maxschmeling commented 4 years ago

What did you setup to get this working? I'm getting the same error

asafron commented 4 years ago

@maxschmeling I had to create a full release on alpha track, with testers and everything. Only then everything started working.

maxschmeling commented 4 years ago

It turns out I needed to get the Store Listing information setup (feature image and 2 screenshots) before it would let me push an alpha build.