Changeset 1241


Ignore:
Timestamp:
Sep 7, 2010, 12:43:47 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #276: Version should autopropagate from build.xml

Location:
extensions/net.sf.basedb.ftp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.ftp/trunk/META-INF/extensions.xml

    r988 r1241  
    3030    </description>
    3131    <version>1.1pre</version>
     32    <copyright>BASE 2 development team</copyright>
     33    <email>basedb-users@lists.sourceforge.net</email>
    3234    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.ftp</url>
    3335  </about>
  • extensions/net.sf.basedb.ftp/trunk/RELEASE

    r757 r1241  
    1313 2. Update the version number.
    1414   
    15     * In build.xml: <property name="version" value="A.B" />
    16     * In META-INF/extensions.xml: <version>A.B</version>
     15    In build.xml: <property name="version" value="A.B" />
     16     
     17    Run `ant update-version`. This should put the version
     18    numbers in other files, including,
     19    META-INF/extensions.xml.
     20   
     21    Check (and update if needed) the README file and
     22    and the wiki pages (see also step 8 below):
     23   
     24      http://baseplugins.thep.lu.se/wiki/net.sf.basedb.ftp
     25      http://baseplugins.thep.lu.se/wiki/PluginDownload
    1726
    1827 3. Make sure that the code compiles and can be packaged.
     
    5059    any remaining tickets to the newly create milestone.
    5160
    52 11. Update the version number in build.xml and META-INF/extensions.xml:
    53 
    54     <property name="version" value="A.B+1pre" />
    55     <version>A.B</version>
    56    
    57     Commit the change to subversion:
     6111. Update the version numbers.
     62 
     63    In build.xml: <property name="version" value="A.(B+1)pre" />
     64    Run `ant update-version` and commit the changes to
     65    subversion:
    5866   
    5967    svn commit -m "Preparing for future release A.B+1"
  • extensions/net.sf.basedb.ftp/trunk/build.xml

    r1230 r1241  
    121121  </target>
    122122 
     123  <target name="update-version">
     124    <echo>Setting version to: ${version}</echo>
     125    <echo>extensions.xml</echo>
     126    <replaceregexp
     127      file="META-INF/extensions.xml"
     128      match="&lt;version&gt;.*&lt;/version&gt;"
     129      replace="&lt;version&gt;${version}&lt;/version&gt;"
     130      encoding="UTF-8"
     131    />
     132    <echo>Don't forget to commit the changes to the subversion repository!</echo>
     133  </target>
     134 
    123135  <target
    124136    name="checkjar"
Note: See TracChangeset for help on using the changeset viewer.