fork from https://github.com/Microsoft/cordova-plugin-code-push examples
$ cd /path/to/code-push-cordova-demo-app
$ cordova prepare
$ cordova run ios
$ cd /path/to/code-push-cordova-demo-app
$ cordova prepare
$ cordova run android
$ code-push login http://api.code-push.com #登录code-push-server
$ code-push app add CodePushCordovaDemo-ios #iOS版
$ code-push app add CodePushCordovaDemo-android #android版
$ cd /path/to/code-push-cordova-demo-app
$ cordova prepare
$ code-push release-cordova CodePushCordovaDemo-ios ios -d Production #发布到code-push-server ios
$ code-push release-cordova CodePushCordovaDemo-android android -d Production #发布code-push-server android