summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2014-07-30 07:32:21 +0000
committerNick Burch <nick@apache.org>2014-07-30 07:32:21 +0000
commit6369881e216af8b2bc467c0b23060b6c32ecd739 (patch)
tree5c32ed3de11347636832e7cf53dada23e18b058b /build.xml
parentb4d27a47bdb48ed659c05b51a784b06c7317322d (diff)
downloadpoi-6369881e216af8b2bc467c0b23060b6c32ecd739.tar.gz
poi-6369881e216af8b2bc467c0b23060b6c32ecd739.zip
Add a target to help with generating the release notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614573 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index e59e55edb6..7de32fc226 100644
--- a/build.xml
+++ b/build.xml
@@ -53,6 +53,7 @@ under the License.
<description>The Apache POI project Ant build.</description>
<property name="version.id" value="3.11-beta1"/>
+ <property name="version.rel" value="REL_3_11_BETA1"/>
<property environment="env"/>
<!-- the repository to download jars from -->
@@ -1214,6 +1215,16 @@ under the License.
</jar>
</target>
+ <target name="release-notes" depends="init">
+ <copy file="src/documentation/RELEASE-NOTES.txt" todir="build/dist/">
+ <filterset>
+ <filter token="VERSION" value="${version.id}"/>
+ <filter token="DSTAMP" value="${DSTAMP}"/>
+ <filter token="RELEASE_TAG" value="${version.rel}"/>
+ </filterset>
+ </copy>
+ </target>
+
<target name="assemble" depends="jar,jar-src">
<!-- jars to include in binary assemblies -->
<patternset id="bin.dist.jars">
@@ -1312,7 +1323,7 @@ under the License.
<echo>Use ${dist.dir}/multisign.sh to create md5 checksums and GPG signatures</echo>
</target>
- <target name="dist" depends="clean, compile-all, test-all, site, jar, assemble"
+ <target name="dist" depends="clean, compile-all, test-all, site, jar, release-notes, assemble"
description="Creates the entire distribution into build/dist, from scratch">
</target>