code push 推送步骤

1、打包并推送Staging的版本

code-push release-react ZSKQ ios -m

 

2、测试打包

react-native bundle --entry-file index.ios.js --bundle-output ~/Desktop/main.jsbundle --platform ios --assets-dest ~/Desktop/ --dev false

 

react-native bundle --entry-file index.ios.js --bundle-output ~/Desktop/main.jsbundle --platform ios --dev false

 

3、将Staging的版本推送到Production给正式用户

code-push promote ZSKQ Staging Production

 

4、最新项目使用中的key

Staging:uPTrHBIPBU3qY_qc4DkmU_xn53LX4JzaZfEDl

最新已推送版本:v3

 

Production:TOvNofVuohRPbydF9Q7MJtITKxcP4JzaZfEDl

最新已推送版本:v3

 

5、清除推送版本

code-push deployment clear ZSKQ Production

 

6、回滚到特定版本

code-push rollback ZSKQ Production --targetRelease v3

 

git 操作

 

1、删除本地分支

git branch -d v3.0.1

 

2、删除远程分支

git branch -d -r origin/v3.0.1

git push origin :v3.0.1

 

3、创建分支

git checkout -b v3.0.2

git push origin v3.0.2

 

4、添加tag

git tag -a v3.0.1 -m 'v3.0.1'

git push origin v3.0.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值