2015-09-25 12:29:29 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
version=$1
|
|
|
|
|
|
|
|
echo "This update includes the latest stable release of _Apache Subversion_, version **${1}**".
|
|
|
|
echo
|
|
|
|
|
|
|
|
curl --silent -n "http://svn.apache.org/repos/asf/subversion/tags/$1/CHANGES" | \
|
2018-11-01 08:31:45 +00:00
|
|
|
sed -n "
|
|
|
|
/^#/d;
|
2020-04-28 16:19:16 +00:00
|
|
|
/^Version ${1/-rc*/}/,/^Version /{
|
2018-11-01 08:31:45 +00:00
|
|
|
/, from \/branches/d;
|
|
|
|
/repos\/asf\/subversion\/tags/d;
|
2019-11-28 12:41:27 +00:00
|
|
|
s,#\([0-9]*\),[SVN-\1](https://issues.apache.org/jira/browse/SVN-\1),;
|
2019-05-24 07:15:22 +00:00
|
|
|
s/(r[0-9, retal]+)\*//g;
|
2015-09-25 12:29:29 +00:00
|
|
|
s/^ *//;
|
|
|
|
s/ +/ /g;
|
|
|
|
s/^ *- \(.*\)$/#### \1/;
|
|
|
|
s/\(.*visible changes.*:\)$/### \1/;
|
|
|
|
/^ *$/d;
|
|
|
|
/Windows/d
|
|
|
|
/^Version /d
|
|
|
|
s,(r1.*),,g
|
|
|
|
s,\(@[0-9]*\),\\\1,g
|
|
|
|
p;
|
|
|
|
}
|
2018-11-01 08:31:45 +00:00
|
|
|
" -
|