From b31edd45b92de069fea7110629dd3a0dd5a4ef13 Mon Sep 17 00:00:00 2001 From: Anton Soroko Date: Tue, 30 Jan 2024 21:14:30 +0300 Subject: [PATCH] fix changelog parsing in release.sh after d57af51316799252fdc67f575dc72d2568b3e48c --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index bcd7806f4e..4cc86aa722 100755 --- a/release.sh +++ b/release.sh @@ -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