mirror of https://github.com/apache/lucene.git
LUCENE-4442: fix prepare-release to put changes/ and KEYS into the distribution so its complete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432020 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8029a83f5a
commit
3e41735efe
|
@ -281,18 +281,9 @@
|
|||
<copy todir="${fakeRelease}/lucene">
|
||||
<fileset dir="lucene/dist"/>
|
||||
</copy>
|
||||
<copy todir="${fakeRelease}/lucene/changes">
|
||||
<fileset dir="lucene/build/docs/changes"/>
|
||||
</copy>
|
||||
<get src="http://people.apache.org/keys/group/lucene.asc"
|
||||
dest="${fakeRelease}/lucene/KEYS"/>
|
||||
<copy todir="${fakeRelease}/solr">
|
||||
<fileset dir="solr/package"/>
|
||||
</copy>
|
||||
<copy file="${fakeRelease}/lucene/KEYS" todir="${fakeRelease}/solr"/>
|
||||
<copy todir="${fakeRelease}/solr/changes">
|
||||
<fileset dir="solr/build/docs/changes"/>
|
||||
</copy>
|
||||
<makeurl file="${fakeRelease}" validate="false" property="fakeRelease.uri"/>
|
||||
<exec executable="${python32.exe}" failonerror="true">
|
||||
<arg value="-u"/>
|
||||
|
|
|
@ -458,7 +458,20 @@
|
|||
<!-- ================================================================== -->
|
||||
<target name="dist-src" depends="package-tgz-src"/>
|
||||
|
||||
<target name="dist-all" depends="dist, dist-src"/>
|
||||
<target name="dist-all" depends="dist, dist-src, -dist-changes, -dist-keys"/>
|
||||
|
||||
<!-- copy changes/ to the release folder -->
|
||||
<target name="-dist-changes">
|
||||
<copy todir="${dist.dir}/changes">
|
||||
<fileset dir="${build.dir}/docs/changes"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- copy KEYS to the release folder -->
|
||||
<target name="-dist-keys">
|
||||
<get src="http://people.apache.org/keys/group/lucene.asc"
|
||||
dest="${dist.dir}/KEYS"/>
|
||||
</target>
|
||||
|
||||
<target name="copy-to-stage">
|
||||
<copy-to-stage-macro artifacts.dir="${dist.dir}"/>
|
||||
|
|
|
@ -364,7 +364,20 @@
|
|||
<target name="prepare-release" depends="prepare-release-no-sign, sign-artifacts"/>
|
||||
|
||||
<!-- make a distribution -->
|
||||
<target name="package" depends="package-src-tgz,create-package"/>
|
||||
<target name="package" depends="package-src-tgz,create-package,-dist-changes,-dist-keys"/>
|
||||
|
||||
<!-- copy changes/ to the release folder -->
|
||||
<target name="-dist-changes">
|
||||
<copy todir="${package.dir}/changes">
|
||||
<fileset dir="build/docs/changes"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- copy KEYS to the release folder -->
|
||||
<target name="-dist-keys">
|
||||
<get src="http://people.apache.org/keys/group/lucene.asc"
|
||||
dest="${package.dir}/KEYS"/>
|
||||
</target>
|
||||
|
||||
<!-- Makes a tarball from running "svn export" at the root level. -->
|
||||
<!-- Copies NOTICE.txt and LICENSE.txt from solr/ to the root level. -->
|
||||
|
|
Loading…
Reference in New Issue