Permalink
Browse files

correct build number and clobber update.rdf so it gets updated

  • Loading branch information...
1 parent 14e6ee6 commit 7a5ccfbefbf08fc9cbc646489caabf91297dd575 @johnjbarton johnjbarton committed Aug 26, 2010
Showing with 5 additions and 3 deletions.
  1. +1 −1 ant.properties
  2. +4 −2 build.xml
View
@@ -1,3 +1,3 @@
-VERSION=0.
+VERSION=0.1
RELEASE=a2
GETFIREBUG=../../../../../getfirebug.com/tags/production/releases/selectbug
View
@@ -33,8 +33,7 @@
<copy file="chrome.manifest" todir="${build.dir}"/>
<copy file="install.rdf" todir="${build.dir}"/>
<copy file="license.txt" todir="${build.dir}"/>
- <copy file="update.rdf" todir="${GETFIREBUG}"/>
-
+
<!-- Update release version from ant.properties file -->
<replace file="${build.dir}/install.rdf" propertyFile="ant.properties">
<replacefilter token="@VERSION@" property="VERSION"/>
@@ -46,6 +45,9 @@
basedir="${build.dir}" update="true" />
<!-- Generate update.rdf file -->
+ <delete file="${GETFIREBUG}/update.rdf"/>
+ <copy file="update.rdf" todir="${GETFIREBUG}"/>
+
<replace file="${GETFIREBUG}/update.rdf" propertyFile="ant.properties">
<replacefilter token="@VERSION@" property="VERSION"/>
<replacefilter token="@RELEASE@" property="RELEASE"/>

0 comments on commit 7a5ccfb

Please sign in to comment.