我一直在向我的团队展示我使用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
?
可以使用 --deploymentName 指定要更新的部署。
code-push release-react APP_NAME_HERE ios --deploymentName Production
您还可以将发布从暂存提升到生产(文档):
code-push promote APP_NAME_HERE Staging Production