本文介绍了如何更新“生产"使用代码推送 CLI 进行部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 Staging 键向我的团队展示我的进度.当我执行 code-push deployment ls APP_NAME_HERE -k 时,它会给我一个 StagingProduction 表,其中 Production 有消息 No updates release.

I've been showing my team my progress with the Staging key. When I do code-push deployment ls APP_NAME_HERE -k,it'll give me a Staging and Production table with Production having the message No updates released.

我一直在使用 code-push release-react APP_NAME_HERE ios 来更新.谁能指导我将哪些选项发送给 Production 而不是 Staging?

I have been using code-push release-react APP_NAME_HERE ios to update.Can anyone guide me as to what options I need to send to Production instead of Staging?

推荐答案

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

You can use --deploymentName to specify the deployment you want to update.

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

您还可以将您的版本从登台推广到生产(docs):

You could also promote your release from staging to production (docs):

code-push促进APP_NAME_HERE分阶段生产

这篇关于如何更新“生产"使用代码推送 CLI 进行部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 22:32