release: fix changelog parsing in release.sh after d57af51316
(#2235)
This commit is contained in:
parent
ac231a0627
commit
c4a64f3ade
|
@ -119,8 +119,8 @@ echo 'Creating tag...'
|
||||||
echo
|
echo
|
||||||
found=no
|
found=no
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
if [[ "$line" == *: ]]; then
|
if [[ "$line" == "# "* ]]; then
|
||||||
[ "$line" == "$version:" ] && found=yes || found=no
|
[ "$line" == "# $version" ] && found=yes || found=no
|
||||||
fi
|
fi
|
||||||
[ "$found" == 'yes' ] && [ "${line:0:1}" == '*' ] && echo "$line"
|
[ "$found" == 'yes' ] && [ "${line:0:1}" == '*' ] && echo "$line"
|
||||||
done < ChangeLog.md
|
done < ChangeLog.md
|
||||||
|
|
Loading…
Reference in New Issue