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
.
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
?
As a reminder, you can retrieve these keys by running appcenter codepush deployment list -a <ownerName>/<appName> --displayKeys from your terminal.
We created standard deployments, set up react-native-code-push for iOS and Android applications, and finally, deployed our updates. You can read more in the CodePush documentation and Microsoft AppCenter docs.
You can use --deploymentName to specify the deployment you want to update.
code-push release-react APP_NAME_HERE ios --deploymentName Production
You could also promote your release from staging to production (docs):
code-push promote APP_NAME_HERE Staging Production
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With