Updated sed script to convert CHANGES to markdown.

This commit is contained in:
Joe Orton 2018-11-01 08:31:45 +00:00
parent ac4378f0e5
commit 4df5cd53fb
1 changed files with 6 additions and 3 deletions

View File

@ -6,8 +6,11 @@ echo "This update includes the latest stable release of _Apache Subversion_, ver
echo
curl --silent -n "http://svn.apache.org/repos/asf/subversion/tags/$1/CHANGES" | \
sed -n '
4,/Version/{
sed -n "
/^#/d;
/^Version $1/,/^Version /{
/, from \/branches/d;
/repos\/asf\/subversion\/tags/d;
s/(r[0-9, retal]*)\;*//g;
s,issue #\([0-9]*\),[issue \1](https://issues.apache.org/jira/browse/SVN-\1),;
s/^ *//;
@ -21,4 +24,4 @@ s,(r1.*),,g
s,\(@[0-9]*\),\\\1,g
p;
}
' -
" -