React Native CodePush 热更新流程(2)

这个章节主要讲述code push常用命令

CodePush 常用的命令

code-push app ls
//列出在服务器上创建的app

code-push app rm AwesomeProject-android
//删除服务器上的AwesomeProject-android应用

code-push deployment ls AwesomeProject-android
//列出 AwesomeProject-android应用有几种部署类型,一般默认就两种(Production和Staging)

code-push deployment h AwesomeProject-android Production
//列出AwesomeProject-android应用Production部署类型的部署历史

code-push deployment add AwesomeProject-android Development
//为AwesomeProject-android 应用添加一个Development的部署类型(一般默认就两种Production和Staging)

code-push rollback AwesomeProject-android Production
//回滚AwesomeProject-android应用Production部署类型到上一个版本

code-push rollback AwesomeProject-andorid Production --targetRelease v5
//回滚AwesomeProject-android应用Production部署类型到v5版本

code-push release-react AwesomeProject-android android -d Production -m true --des '更新描述'
//发布更新,将js生成bundle并且发布到服务器上

你可能感兴趣的:(React Native CodePush 热更新流程(2))