Skip to content

Commit 491d066

Browse files
committed
wtf3
1 parent cfcba4e commit 491d066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ jobs:
7272
fi
7373
7474
# Break if a new version header is found after the current version
75-
if [[ $found_version -eq 1 && "$line" =~ ^\= [0-9]+\.[0-9]+\.[0-9]+\ =$ ]]; then
75+
if [[ $found_version -eq 1 ]] && echo "$line" | grep -qE '^= [0-9]+\.[0-9]+\.[0-9]+ =$'; then
7676
echo "DEBUG: Found a new version header. Stopping collection."
7777
break
7878
fi
7979
8080
# Collect lines starting with '*' if we are in the current version section
81-
if [[ $found_version -eq 1 && "$line" =~ ^\* ]]; then
81+
if [[ $found_version -eq 1 ]] && echo "$line" | grep -qE '^\*'; then
8282
echo "DEBUG: Found changelog entry: $line"
8383
release_notes+="${line}\n"
8484
continue

0 commit comments

Comments
 (0)