Skip to content

Commit

Permalink
[doc] Update UPDATING.md instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbrooks committed Jan 16, 2013
1 parent 1acda39 commit d718299
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions UPDATING.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,18 +2,35 @@


The application is based on the Apache Cordova Hello World example. The application is based on the Apache Cordova Hello World example.


## Upgrading ### 1. Update the Source

### Update the Source


cp /incubator-cordova-app-hello-world/www www/ cp /incubator-cordova-app-hello-world/www www/


Do not replace `www/config.xml`. __Do not replace `www/config.xml`.__
Do not replace `www/img/logo.png`.


### Update the HTML __Do not replace `www/img/logo.png`.__


vim www/index.html ### 2. Update index.html


Replace `<h1>Apache Cordova</h1>` with `<h1>PhoneGap</h1>`. Replace `<h1>Apache Cordova</h1>` with `<h1>PhoneGap</h1>`.


### 3. Update config.xml

1. Update app version to latest PhoneGap version.

<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.hello-world"
version = "2.2.0">

2. Update PhoneGap version.

<preference name="phonegap-version" value="x.x.x" />

### 4. Commit

$ git commit -am "[app] Version x.x.x"

## 5. Tag

$ git tag x.x.x

0 comments on commit d718299

Please sign in to comment.