如何使用代码推送 CLI 更新"Production"部署?



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

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

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

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

您还可以将发布从暂存提升到生产(文档):

code-push promote APP_NAME_HERE Staging Production

最新更新