-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Different gradle tasks for pushing to different Play Store channels #65
Comments
Another solution would be to use a property for the track
and then define your CI server to run the publish task with an additional argument:
Jenkins for example does that automatically if you are using parameterized builds along with the gradle build step. Does that help you? |
@bhurling Yep, that works. Thank you so much! |
I find when I set track to
Is this the expected behaviour? Does this mean that I need to add |
If you use properties in your build script you have to provide them externally. But you can set defaults in your
|
That works great. Thanks! It might be worth mentioning that trick in the docs. |
Add it to docs PLEASE. |
For some reason, using
always pushed to alpha even if I set the default to Changing the syntax to the following
worked for me. I'm a bit confused about this since |
Worked for me, as long as you default the track i.e. track = internal in your gradle.properties you can refer to it in your build.gradle as
|
Hi there, is it possible to make the plugin create more than one gradle task so that a different task is used to push to a different Play Store channel?
E.g. I want to push an APK to different channels from different GitHub branches on my CI server, and the only way to do that I am aware of is to have a different config for
gradle-play-publisher
in every branch of my project. Is that the only way?Thanks!
The text was updated successfully, but these errors were encountered: