Changeset 4f12e81 for build.xml


Ignore:
Timestamp:
Mar 21, 2014 11:35:04 AM (6 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
d6233a8
Parents:
ab612d0
Message:

build: add -pre-release target, add addt'l files to distclean

Moving the pre-release checks to a new target (to be run at the very start of
"release")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rab612d0 r4f12e81  
    648648    </target>
    649649
     650    <target name="-pre-release">
     651            <echo message="================================================================" />
     652            <echo message="Did you update these files?" />
     653            <exec executable="ls" failonerror="true">
     654                    <arg value="-l" />
     655                    <arg value="history.txt" />
     656                    <arg value="installer/install.xml" />
     657                    <arg value="core/java/src/net/i2p/CoreVersion.java" />
     658                    <arg value="router/java/src/net/i2p/router/RouterVersion.java" />
     659            </exec>
     660            <echo message="Everything is checked in, right? Let's be sure:" />
     661            <exec executable="mtn" failonerror="true">
     662                    <arg value="st" />
     663            </exec>
     664            <echo message="If there are any modified files above, stop now!" />
     665            <echo message="================================================================" />
     666            <sleep seconds="3"/>
     667    </target>
     668
    650669    <target name="clean" depends="pkgclean" >
    651670        <delete dir="./build" />
     
    663682    <target name="distclean" depends="clean">
    664683        <delete failonerror="false" quiet="true">
    665             <fileset dir="." includes="i2pinstall* *.deb i2pupdate* i2psource*" />
     684            <fileset dir="." includes="i2pinstall* *.deb i2p_*.bz2 i2pupdate* i2psource*" />
    666685        </delete>
    667686        <ant dir="core/java/" target="distclean" />
     
    14721491    <target name="release" depends="distclean, updaterWithJettyFixesAndJbigi , updater200WithJettyFixes, preppkg, installer, getReleaseNumber" >
    14731492-->
    1474     <target name="release" depends="verifyReleaseBuildNumbers, distclean, testscripts, updaterWithJettyRepack, updater200WithJetty, delete-j6-update, installer-nowindows, delete-nonwindows, installer-windows" >
    1475         <echo message="================================================================" />
    1476         <echo message="Did you update these files?" />
    1477         <exec executable="ls" failonerror="true">
    1478             <arg value="-l" />
    1479             <arg value="history.txt" />
    1480             <arg value="installer/install.xml" />
    1481             <arg value="core/java/src/net/i2p/CoreVersion.java" />
    1482             <arg value="router/java/src/net/i2p/router/RouterVersion.java" />
    1483         </exec>
    1484         <echo message="Everything is checked in, right? Let's be sure:" />
    1485         <exec executable="mtn" failonerror="true">
    1486             <arg value="st" />
    1487         </exec>
    1488         <echo message="If there are any modified files above, stop now!" />
    1489 
     1493    <target name="release" depends="verifyReleaseBuildNumbers, -pre-release, distclean, testscripts, updaterWithJettyRepack, updater200WithJetty, delete-j6-update, installer-nowindows, delete-nonwindows, installer-windows" >
    14901494        <echo message="New version number is ${release.number}" />
    14911495        <copy file="i2pupdate.zip" tofile="i2pupdate_${release.number}.zip" />
Note: See TracChangeset for help on using the changeset viewer.