Permalink
Browse files

[doc] Update UPDATING.md instructions.

  • Loading branch information...
1 parent 1acda39 commit d7182990e9db2a31384013d4697be2c7516b91af @mwbrooks mwbrooks committed Jan 16, 2013
Showing with 24 additions and 7 deletions.
  1. +24 −7 UPDATING.md
View
31 UPDATING.md
@@ -2,18 +2,35 @@
The application is based on the Apache Cordova Hello World example.
-## Upgrading
-
-### Update the Source
+### 1. Update the Source
cp /incubator-cordova-app-hello-world/www www/
-Do not replace `www/config.xml`.
-Do not replace `www/img/logo.png`.
+__Do not replace `www/config.xml`.__
-### 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>`.
+### 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.