如何更新"生产"使用Code Push CLI进行部署?

时间:2016-06-03 14:14:14

标签: react-native code-push

我已经使用Staging密钥向我的团队展示了我的进度。  当我做code-push deployment ls APP_NAME_HERE -k时, 它会给Staging Production一个Production表,其中No updates released的消息为code-push release-react APP_NAME_HERE ios

我一直在使用Production进行更新。 任何人都可以指导我向Staging而不是users (id,name) roles (id,name) positions (id,name) position_user (user_id,position_id) 发送哪些选项?

1 个答案:

答案 0 :(得分:21)

您可以使用--deploymentName指定要更新的部署。

code-push release-react APP_NAME_HERE ios --deploymentName Production

您还可以将您的版本从暂存升级到生产(docs):

code-push promote APP_NAME_HERE Staging Production