From 87a5a0b891e47b10fce2d5d182448b5918094262 Mon Sep 17 00:00:00 2001 From: Ruben Rios Date: Wed, 18 May 2016 15:21:49 -0700 Subject: [PATCH] Tweaks PhoneGap support comment --- cli/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/README.md b/cli/README.md index c7fd5250..501c3947 100644 --- a/cli/README.md +++ b/cli/README.md @@ -260,7 +260,7 @@ Once your app has been configured to query for updates against the CodePush serv 2. [React Native](#releasing-updates-react-native) - Performs the same functionality as the general release command, but also handles the task of generating the updated app contents for you (JS bundle and assets), instead of requiring you to run both `react-native bundle` and then `code-push release`. -3. [Cordova](#releasing-updates-cordova) - Performs the same functionality as the general release command, but also handles the task of preparing the app update for you, instead of requiring you to run both `cordova prepare` (or `phonegap build` for PhoneGap instances) and then `code-push release`. +3. [Cordova](#releasing-updates-cordova) - Performs the same functionality as the general release command, but also handles the task of preparing the app update for you, instead of requiring you to run both `cordova prepare` (or `phonegap prepare`) and then `code-push release`. Which of these commands you should use is mostly a matter of requirements and/or preference. However, we generally recommend using the relevant platform-specific command to start (since it greatly simplifies the experience), and then leverage the general-purpose `release` command if/when greater control is needed. @@ -498,7 +498,7 @@ code-push release-cordova The `release-cordova` command is a Cordova-specific version of the "vanilla" [`release`](#releasing-app-updates) command, which supports all of the same parameters (e.g. `--mandatory`, `--description`), yet simplifies the process of releasing updates by performing the following additional behavior: -1. Running the `cordova prepare` (or `phonegap build` for PhoneGap instances) command in order to generate the [update contents](#update-contents-parameter) (`www` folder) that will be released to the CodePush server. +1. Running the `cordova prepare` (or `phonegap prepare`) command in order to generate the [update contents](#update-contents-parameter) (`www` folder) that will be released to the CodePush server. 2. Inferring the [`targetBinaryVersion`](#target-binary-version-parameter) of this release by using the version name that is specified in your project's `config.xml` file.