logankoester / grunt-phonegap

A Grunt plugin to provide local build tasks for Phonegap applications
MIT License
173 stars 61 forks source link

Automatically download an app after phonegap:release[:platform] with remote build #51

Open szalishchuk opened 10 years ago

szalishchuk commented 10 years ago

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.

logankoester commented 10 years ago

:thumbsup: That's a great suggestion. Is there a good way to get the download URL after a build?

szalishchuk commented 10 years ago

They have a bunch of read methods in PhoneGap Build Developer API. You can fetch an app in a lot of different ways.

logankoester commented 10 years ago

Perfect!

madmuffin1 commented 9 years ago

Probably the easiest way is to just download the file provided at http://build.phonegap.com/api/v1/apps//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.