From c5fb06dcb8ffe00dfda665f73477ba8aa875599c Mon Sep 17 00:00:00 2001 From: Maarten Coene Date: Tue, 30 Jun 2009 22:47:27 +0000 Subject: [PATCH] Automated a few manual steps when creating a new Ivy release. git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@789997 13f79535-47bb-0310-9956-ffa450edef68 --- build-release.xml | 29 +++++++++++++++++++++++++---- doc/dev/makerelease.html | 20 ++------------------ doc/printTemplate.html | 8 ++++---- doc/template.html | 2 +- 4 files changed, 32 insertions(+), 27 deletions(-) diff --git a/build-release.xml b/build-release.xml index 81a77a54..8fd1757f 100644 --- a/build-release.xml +++ b/build-release.xml @@ -22,15 +22,25 @@ xmlns:openpgp="antlib:org.apache.commons.openpgp.ant"> - - - + + + + + + + + + + + + + - + @@ -42,6 +52,17 @@ + + + + + + + + + + diff --git a/doc/dev/makerelease.html b/doc/dev/makerelease.html index b409fd96..90fc87d7 100644 --- a/doc/dev/makerelease.html +++ b/doc/dev/makerelease.html @@ -46,24 +46,8 @@ svn copy https://svn.apache.org/repos/asf/ant/ivy/core/trunk \ svn co https://svn.apache.org/repos/asf/ant/ivy/core/branches/2.0.0-beta1 ivy-2.0.0-beta1 -

4. Prepare the files which need to be updated for the release.

-Check again that files have proper revision information. -It's also time to update the documentation template files which will be used for doc generation to include the version information in the page title. -For instance in - -doc/template.html -doc/printTemplate.html - -replace - -${title} | Ivy Documentation - -by - -${title} | Ivy 2.0.0-beta1 Documentation - - -You also need to store the current ivy xml schema in the documentation, so that it will later be accessible on public web site. To do so, run the following command in the directory in which you checked out the release branch: +

4. Add Ivy xsd file.

+You need to store the current ivy xml schema in the documentation, so that it will later be accessible on public web site. To do so, run the following command in the directory in which you checked out the release branch: ant -f build-release.xml release-xsd diff --git a/doc/printTemplate.html b/doc/printTemplate.html index 3d93bccc..ebedf9a3 100644 --- a/doc/printTemplate.html +++ b/doc/printTemplate.html @@ -20,7 +20,7 @@ -${title} | Ivy +${title} | Ivy @version@ @@ -32,9 +32,9 @@ - + diff --git a/doc/template.html b/doc/template.html index b77a86a5..31a21512 100644 --- a/doc/template.html +++ b/doc/template.html @@ -20,7 +20,7 @@ -${title} | Ivy Documentation +${title} | Ivy @version@ Documentation