Skip to content

Commit

Permalink
release: fix changelog parsing in release.sh after d57af51 (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonsoroko authored Jan 30, 2024
1 parent ac231a0 commit c4a64f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ echo 'Creating tag...'
echo
found=no
while read -r line; do
if [[ "$line" == *: ]]; then
[ "$line" == "$version:" ] && found=yes || found=no
if [[ "$line" == "# "* ]]; then
[ "$line" == "# $version" ] && found=yes || found=no
fi
[ "$found" == 'yes' ] && [ "${line:0:1}" == '*' ] && echo "$line"
done < ChangeLog.md
Expand Down

0 comments on commit c4a64f3

Please sign in to comment.