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

Upload multiple apks at once #5

Closed
jfsso opened this issue Sep 15, 2013 · 5 comments
Closed

Upload multiple apks at once #5

jfsso opened this issue Sep 15, 2013 · 5 comments

Comments

@jfsso
Copy link

jfsso commented Sep 15, 2013

Hey guys,

I have an Android Studio project that builds with gradle. This project has 2 flavor groups each one of those has 2 flavors associated with them. In the end, my output is a total of 8 APKs: 4 are release builds and 4 are debug.

My wish is to have a way to upload all those 4 release APKs to DeployGate each time the uploadDeployGate and updateDistribution tasks are executed.

Here's my proposed configuration format:

deploygate {
  userName "[owner name]"
  token "[token]"

  apk file("[path1]") "[message2]"
  apk file("[path2]") "[message2]"
  distribution file("[path3]")  "[distribution_key1]"  "[release notes1]"
  distribution file("[path4]")  "[distribution_key2]"  "[release notes2]"
}

I'm not sure if this syntax is possible to implement as I'm not familiar on how gradle plugins work.

What do you guys think?

@henteko
Copy link
Member

henteko commented Sep 16, 2013

Hey @jfsso !
Thank you good idea.
If possible, i will try implement.

@henteko
Copy link
Member

henteko commented Sep 22, 2013

@jfsso

I'm going to try to implement this format, but what do you think?

Fix configuration format:

deploygate {
  token = "[token]
  userName = "[owner name]"

  apks {
    apk1 {
      sourceFile = file("[path1]")
      message = "[message1]"
      distributionKey = "[distribution_key1]"
      releaseNote = "[release notes1]"
    }
    apk2 {
      sourceFile = file("[path2]")
        message = "[message2]"
    }
  }
}

henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
henteko added a commit that referenced this issue Sep 23, 2013
@jfsso
Copy link
Author

jfsso commented Sep 23, 2013

looks good to me! 👍

@henteko
Copy link
Member

henteko commented Sep 23, 2013

Thank you! :)

henteko added a commit that referenced this issue Sep 25, 2013
henteko added a commit that referenced this issue Sep 25, 2013
henteko added a commit that referenced this issue Sep 25, 2013
henteko added a commit that referenced this issue Sep 25, 2013
tnj added a commit that referenced this issue Sep 25, 2013
#5 Support upload multiple apks
@henteko
Copy link
Member

henteko commented Sep 26, 2013

Released v0.3!
Upload multiple apks supported! ;)

@henteko henteko closed this as completed Sep 26, 2013
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