One of the advantages of configuring your Cordova builds on the cordova level involves using hooks just as Holly Schinsky (@devgirl) describes in her post: Three hooks your Cordova / Phonegap project needs.
Using file copying in a after_prepare hook enables you to copy, for instance, the ant.properties file in which you can setup the keystore and application key and even their related passwords so you can build the release package for your Android app signed an all.
An example of the ant.properties looks like this:
key.store=../../../AndroidRelease.keystore key.store.password=[secret] key.alias=Android key.alias.password=[secret]
When you’re hoping to see your release build being signed as usual with CLI 5.0 the ant.properties file will be ignored and only the unsigned variant will be build.
Check out this post on how to sign your Android build again.