grunt-phonegap
grunt-phonegap copied to clipboard
Automatically download an app after phonegap:release[:platform] with remote build
I think it would make a lot of sense if grunt-phonegap could automatically download the app that was build in adobe's cloud service and stick it inside specified phonegap.config.releases directory.
:thumbsup: That's a great suggestion. Is there a good way to get the download URL after a build?
They have a bunch of read methods in PhoneGap Build Developer API. You can fetch an app in a lot of different ways.
Perfect!
Probably the easiest way is to just download the file provided at http://build.phonegap.com/api/v1/apps/<appId>/android. For the time being, I've written a shell script doing the job for us, but I would look into adding it into grunt-phonegap if you could hint me to where this should be added.