mirror of https://github.com/apache/lucene.git
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:
parent
9dc1014729
commit
b33cb01910
41
build.xml
41
build.xml
|
@ -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=""Forrest Entity updates""/>
|
||||
</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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue