fix some bugs in script
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/5fac1e6a
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/5fac1e6a
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/5fac1e6a
Branch: refs/heads/develop
Commit: 5fac1e6aa03681e27ff702c1e1453f1d3ad4ae57
Parents: 1a06535
Author: Alex Harui <aharui@apache.org>
Authored: Fri Aug 8 14:08:39 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Aug 8 14:08:39 2014 -0700
----------------------------------------------------------------------
installer/releasecandidate.xml | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/5fac1e6a/installer/releasecandidate.xml
----------------------------------------------------------------------
diff --git a/installer/releasecandidate.xml b/installer/releasecandidate.xml
index 39aaf75..83a9be0 100644
--- a/installer/releasecandidate.xml
+++ b/installer/releasecandidate.xml
@@ -245,7 +245,7 @@
<arg value="commit" />
<arg value="--force-interactive" />
<arg value="-m" />
- <arg value="rc${rc} of Apache Flex Installer ${release.version}/" />
+ <arg value="rc${rc} of Apache Flex Installer ${release.version}" />
</exec>
<exec executable="${git}" dir="${basedir}/.." failonerror="true" >
<arg value="tag" />
@@ -309,22 +309,26 @@
<target name="mail" >
<!-- try to set line breaks before the vertical line | -->
+ <echo file="${basedir}/discussthread.properties">discuss.thread.body=This is
the discussion thread.\n\
+\n\
+Changes in this RC include:\n\
+\n\
+\n\
+Thanks,\n\
+${my.name}
+</echo>
+ <replace file="${basedir}/discussthread.properties">
+ <replacefilter token=" " value="%20" />
+ <replacefilter token="\n" value="${CRLF}" />
+ </replace>
+ <property file="${basedir}/discussthread.properties" />
+
+ <!-- try to set line breaks before the vertical line | -->
<echo file="${basedir}/votethread.properties">vote.thread.body=Hi,\n\
\n\
Please vote to approve Apache Flex SDK Installer version ${release.version} to be \n\
released.\n\
\n\
-Issues addressed in this release:\n\
-- Installer will report more information when installs fail.\n\
-- Bugs fixed in ant_on_air required by latest nightly builds of FalconJX and FlexJS\n\
-- Caching logic moved to the install scripts.\n\
-\n\
-Changes in this RC:\n\
-- Added uncaught error handler\n\
-- Bring log window to front if behind main window\n\
-- Add check for available network interface\n\
-- Add more info to release notes\n\
-\n\
The source distributions for Windows and Mac are available here:\n\
https://dist.apache.org/repos/dist/dev/flex/installer/${release.version}/rc${rc}/\n\
\n\
@@ -339,7 +343,7 @@ What are the ASF requirements on approving a release? at\n\
http://www.apache.org/dev/ and approving a release at\n\
http://www.apache.org/dev/release.html#approving-a-release\n\
\n\
-For your convenience, there Issues an Ant script in the RC folder that\n\
+For your convenience, there is an Ant script in the RC folder that\n\
automates the checks a voter should perform on the RC.\n\
It will:\n\
- download the default source package for your OS (use -Dpackage.suffix to override)\n\
@@ -366,7 +370,7 @@ simple as:\n\
- Create an empty folder\n\
- Download ApproveInstaller.xml into that folder from:\n\
\n\
-https://dist.apache.org/repos/dist/dev/flex/installer/3.1/rc8/ApproveInstaller.xml\n\
+https://dist.apache.org/repos/dist/dev/flex/installer/${release.version}/rc${rc}/ApproveInstaller.xml\n\
\n\
- Run: ant -e -f ApproveInstaller.xml -Drelease.version=${release.version} -Drc=${rc}\n\
\n\
@@ -385,13 +389,14 @@ ${my.name}
<replacefilter token="\n" value="${CRLF}" />
</replace>
<property file="${basedir}/votethread.properties" />
- <echo file="${basedir}/votethread.html"><html><body><a
href="mailto:dev@flex.apache.org?subject=[VOTE]%20Release%20Apache%20Flex%20SDK%20Installer%20${release.version}%20RC${rc}&body=${vote.thread.body}">Click
here to review vote thread</a></body></html></echo>
+ <echo file="${basedir}/votethread.html"><html><body><a
href="mailto:dev@flex.apache.org?subject=[DISCUSS]%20Discuss%20Release%20Apache%20Flex%20SDK%20Installer%20${release.version}%20RC${rc}&body=${discuss.thread.body}">Click
here to review discuss thread</a><br/><a href="mailto:dev@flex.apache.org?subject=[VOTE]%20Release%20Apache%20Flex%20SDK%20Installer%20${release.version}%20RC${rc}&body=${vote.thread.body}">Click
here to review vote thread</a></body></html></echo>
<makeurl file="${basedir}/votethread.html" property="vote.thread.url" />
<exec executable="${browser}">
<arg value="${vote.thread.url}" />
</exec>
<delete file="${basedir}/votethread.properties" />
<delete file="${basedir}/votethread.html" />
+ <delete file="${basedir}/discussthread.properties" />
</target>
</project>
|