Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c53c196

Browse files
committed
Merge pull request #227 from Microsoft/version_bump
Bumping version
2 parents f90d4fb + 87a5a0b commit c53c196

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

cli/README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,22 @@ code-push login
6464

6565
This will launch a browser, asking you to authenticate with either your GitHub or Microsoft account. This will generate an access key that you need to copy/paste into the CLI (it will prompt you for it). You are now successfully authenticated and can safely close your browser window.
6666

67-
If at anytime you want to determine if you're already logged in, you can run the following command to display the e-mail address associated with your current authentication session, and which identity providers your account is linked to (e.g. GitHub):
67+
By default, the login command supports proxies and will look for system environment variables (`HTTPS_PROXY` or `HTTP_PROXY` for HTTPS or HTTP traffic respectively) to establish proxy connections.
68+
69+
CodePush specific proxy settings are also supported and can be set using the `--proxy` flag:
70+
71+
```
72+
code-push login --proxy proxyUrl
73+
```
74+
75+
76+
Alternatively, proxy functionality can be disabled (system environment variables are suppressed and CodePush ignores proxy settings) by passing the `--noproxy` flag:
77+
78+
```
79+
code-push login --noproxy
80+
```
81+
82+
If at any time you want to determine if you're already logged in, you can run the following command to display the e-mail address associated with your current authentication session, which identity providers your account is linked to (e.g. GitHub) and any previously set proxy:
6883

6984
```shell
7085
code-push whoami
@@ -245,7 +260,7 @@ Once your app has been configured to query for updates against the CodePush serv
245260

246261
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`.
247262

248-
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` and then `code-push release`.
263+
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`.
249264

250265
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.
251266

@@ -483,7 +498,7 @@ code-push release-cordova <appName> <platform>
483498

484499
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:
485500

486-
1. Running the `cordova prepare` command in order to generate the [update contents](#update-contents-parameter) (`www` folder) that will be released to the CodePush server.
501+
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.
487502

488503
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.
489504

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-push-cli",
3-
"version": "1.10.0-beta",
3+
"version": "1.11.0-beta",
44
"description": "Management CLI for the CodePush service",
55
"main": "script/cli.js",
66
"scripts": {
@@ -28,7 +28,7 @@
2828
"base-64": "^0.1.0",
2929
"chalk": "^1.1.0",
3030
"cli-table": "^0.3.1",
31-
"code-push": "1.8.0-beta",
31+
"code-push": "1.9.0-beta",
3232
"email-validator": "^1.0.3",
3333
"gradle-to-js": "0.1.0",
3434
"moment": "^2.10.6",

0 commit comments

Comments
 (0)