1. 發(fā)布升級(jí)版本:(--t 版本, --d 部署環(huán)境毅人,--des 版本描述德绿,--m 是否強(qiáng)制更新)
????code-push release-react BitMore ios --t "1.2.1" --dev false --d Staging --des "" --m false????
? ? ? ? (1)1.2.1囊蓝;(2)*所有版本起胰;(3)1.2.x升酣;(4)1.2.3 - 1.2.7 诫睬;(5)>=1.2.3 <1.2.7
? ? ? ? (6)~1.2.3 大于等于1.2.3小于1.3.0 煞茫;(7)^1.2.3 大于等于1.2.3小于2.0.0
2. 查看app最新版本信息:
????code-push deployment ls BitMore
3.??查看部署的key
????code-push deployment ls BitMore? -k
4. 部署回滾:?(回滾app BitMore 部署環(huán)境Staging下到上一個(gè)版本)
????code-push rollback BitMore Staging
3. 查看app歷史版本:
????code-push deployment history BitMore Staging ((Production 或者 Staging)
4. code-push app:
?????add AppName ios react-native? (添加app)
?????ls? (列出所有app)
????rm AppName?(刪除app)
????rename nowAppName newAppName (給已有app重命名)
5.?code-push deployment BitMore
????add? Staging1 (為BitMore添加部署環(huán)境Staging1)
????clear?Staging1? ? (清除部署環(huán)境Staging1下的所有發(fā)布的版本)
????remove/rm? Staging1? (刪除部署環(huán)境Staging1)
????rename? Staging1 Staging2?(重命名部署環(huán)境Staging1為Staging2)
????list / ls 以及?history? ?(略)
6.部署的增加-刪除-修改 (這三個(gè)操作不常用)
????code-push deployment add BitMore1
????code-push deployment rm BitMore
????code-push deployment rename BitMore2