prototype release helper for committers

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@693293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-09-08 21:46:47 +00:00
parent 9dc1014729
commit b33cb01910
1 changed files with 41 additions and 0 deletions

View File

@ -686,6 +686,47 @@
</target>
<target name="build-site" depends="svn-up, init-forrest-entities" description="Prototype Helper for Committers. Assumes SVN is in the path">
<delete dir="src/site/build"/>
<exec executable="forrest" dir="src/site"/>
<copy todir="site">
<fileset dir="src/site/build/site"/>
</copy>
<exec executable="svn" dir="site">
<arg value="ci"/>
<arg value="-m"/>
<arg value="&quot;Forrest Entity updates&quot;"/>
</exec>
</target>
<target name="svn-up">
<exec executable="svn">
<arg value="update"/>
</exec>
</target>
<target name="prepare-release" depends="clean, svn-up, build-site, package" description="Prototype helper for Committers. Assumes gpg is in the path">
<exec executable="gpg">
<arg value="--armor"/>
<arg value="--output"/>
<arg value="${dist}/${fullnamever}.tgz.asc"/>
<arg value="--detach-sig"/>
<arg value="${dist}/${fullnamever}.tgz"/>
</exec>
<exec executable="gpg">
<arg value="--armor"/>
<arg value="--output"/>
<arg value="${dist}/${fullnamever}.zip.asc"/>
<arg value="--detach-sig"/>
<arg value="${dist}/${fullnamever}.zip"/>
</exec>
<tar destfile="${dist}/solr-maven.tar">
<tarfileset dir="${dist}/maven"/>
</tar>
<tar destfile="${dist}/solr.tar">
<tarfileset dir="${dist}" includes="${fullnamever}.* solr-maven.tar" excludes="${fullnamever}.war"/>
</tar>
</target>
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check, create-package">
<sequential>