We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfcba4e commit 491d066Copy full SHA for 491d066
.github/workflows/deploy.yml
@@ -72,13 +72,13 @@ jobs:
72
fi
73
74
# 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
+ if [[ $found_version -eq 1 ]] && echo "$line" | grep -qE '^= [0-9]+\.[0-9]+\.[0-9]+ =$'; then
76
echo "DEBUG: Found a new version header. Stopping collection."
77
break
78
79
80
# Collect lines starting with '*' if we are in the current version section
81
- if [[ $found_version -eq 1 && "$line" =~ ^\* ]]; then
+ if [[ $found_version -eq 1 ]] && echo "$line" | grep -qE '^\*'; then
82
echo "DEBUG: Found changelog entry: $line"
83
release_notes+="${line}\n"
84
continue
0 commit comments