Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to publish to alpha and beta channesl #2

Closed
nagkumar opened this issue Aug 19, 2014 · 3 comments
Closed

How to publish to alpha and beta channesl #2

nagkumar opened this issue Aug 19, 2014 · 3 comments

Comments

@nagkumar
Copy link

Hi,

Could you explain publishPaidRelease , would it go to production..
What should we do to publish to alpha and beta channels..

When I use this plugin

  • What went wrong:
    Execution failed for task ':publishRelease'.

    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidd
    en
    {
    "code" : 403,
    "errors" : [ {
    "domain" : "androidpublisher",
    "message" : "Testing-track (alpha/beta) APK appears in another track, code
    1",
    "reason" : "testingTrackApkInMultipleTracks"
    } ],
    "message" : "Testing-track (alpha/beta) APK appears in another track, code 1
    "
    }

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.

BUILD FAILED

Regards,
Nagendra

@nagkumar
Copy link
Author

The above error was because in gp I already had another version uploaded manually to production version

I deleted and recreated a new sample application and manually upload a release to alpha version, then tried upload through this plugin it worked great..

Thank You author for the great plugin.

However it would be nice to accept another parameter in config to say to which folder the uploaded apk should move to. this can have value 'production', 'beta' and 'alpha'

@nagkumar
Copy link
Author

Thank You for supporting this. It wquld be nice if you could update the documentation on how to supply track details

at
https://github.com/Triple-T/gradle-play-publisher

play {
serviceAccountEmail = 'your-service-account-email'
pk12File = file('key.p12')
track = 'beta' //valid values are 'production' 'beta' or 'alpha', while alpha is default
}

@bhurling
Copy link
Contributor

Version 0.0.2 that supports tracks pushed to maven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants