for unsigned i used command
$ cordova build --re
Create a keystock for signed apk
a. keytool -genkey -v -keystore NAME-mobileapps.keystore -alias NAMEmobileapps -keyalg RSA -keysize 2048 -validity 10000
b. create a file inside android folder using name "ant.properties"
c. Add these line with your keystock full path and alise name.
key.store=/home/chandradeo/xxx.keystore
key.alias=xxx
Run command
$ cordova build android --release
or
$ cordova build --release android
This will give you both signed and unsigned apk under ant-build folder
Thanks