Updated sed script to convert CHANGES to markdown.
This commit is contained in:
parent
ac4378f0e5
commit
4df5cd53fb
@ -6,8 +6,11 @@ echo "This update includes the latest stable release of _Apache Subversion_, ver
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
curl --silent -n "http://svn.apache.org/repos/asf/subversion/tags/$1/CHANGES" | \
|
curl --silent -n "http://svn.apache.org/repos/asf/subversion/tags/$1/CHANGES" | \
|
||||||
sed -n '
|
sed -n "
|
||||||
4,/Version/{
|
/^#/d;
|
||||||
|
/^Version $1/,/^Version /{
|
||||||
|
/, from \/branches/d;
|
||||||
|
/repos\/asf\/subversion\/tags/d;
|
||||||
s/(r[0-9, retal]*)\;*//g;
|
s/(r[0-9, retal]*)\;*//g;
|
||||||
s,issue #\([0-9]*\),[issue \1](https://issues.apache.org/jira/browse/SVN-\1),;
|
s,issue #\([0-9]*\),[issue \1](https://issues.apache.org/jira/browse/SVN-\1),;
|
||||||
s/^ *//;
|
s/^ *//;
|
||||||
@ -21,4 +24,4 @@ s,(r1.*),,g
|
|||||||
s,\(@[0-9]*\),\\\1,g
|
s,\(@[0-9]*\),\\\1,g
|
||||||
p;
|
p;
|
||||||
}
|
}
|
||||||
' -
|
" -
|
||||||
|
Loading…
Reference in New Issue
Block a user