Permalink
Browse files

Add version update task.

  • Loading branch information...
1 parent 3e2d7f3 commit e4cb90e9d945285a1aa03bc468f95bae395cdf18 @mwbrooks mwbrooks committed Jul 26, 2011
Showing with 24 additions and 0 deletions.
  1. +24 −0 build.xml
View
@@ -150,6 +150,26 @@ Path:
</echo>
</target>
+ <target name="version">
+ <replace dir="." token="${version}" value="${value}" />
+
+ <echo>
+Version Update Complete!
+========================
+
+Version:
+--------
+
+ Previous: ${version}
+ Current: ${value}
+
+Important Reminder:
+-------------------
+
+ Please review and check the updated files into your version control!
+ </echo>
+ </target>
+
<!-- UPDATE A PROJECT -->
<target name="update" depends="clean, build-javascript, build-extension">
@@ -281,6 +301,10 @@ COMMANDS
dist ............ Create a PhoneGap distribution build
ant dist
+ version ......... Update PhoneGap version
+ ant version VERSION
+ ant version -Dvalue="1.0.0"
+
create-plugin ... Create a new plugin
ant create-plugin PATH
ant create-plugin -Dplugin.path="C:\dev\my_plugin"

0 comments on commit e4cb90e

Please sign in to comment.