Skip to content

Commit bf383c9

Browse files
committed
Fix awk
1 parent 05f535c commit bf383c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/verify_released_changelog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ PREVIOUS_LOCKED_FILE="$TEMP_DIR/previous_locked_section.md"
2525
CURRENT_LOCKED_FILE="$TEMP_DIR/current_locked_section.md"
2626

2727
# Extract released sections from the previous version
28-
awk '/^\<!-- Released section --\>/ {flag=1} /^\<!-- Released section ended --\>/ {flag=0} flag' "$PREVIOUS_FILE" > "$PREVIOUS_LOCKED_FILE"
28+
awk '/^<!-- Released section -->/ {flag=1} /^<!-- Released section ended -->/ {flag=0} flag' "$PREVIOUS_FILE" > "$PREVIOUS_LOCKED_FILE"
2929

3030
# Extract released sections from the current version
31-
awk '/^\<!-- Released section --\>/ {flag=1} /^\<!-- Released section ended --\>/ {flag=0} flag' "$CURRENT_FILE" > "$CURRENT_LOCKED_FILE"
31+
awk '/^<!-- Released section -->/ {flag=1} /^<!-- Released section ended -->/ {flag=0} flag' "$CURRENT_FILE" > "$CURRENT_LOCKED_FILE"
3232

3333
# Compare the released sections
3434
if ! diff -q "$PREVIOUS_LOCKED_FILE" "$CURRENT_LOCKED_FILE"; then

0 commit comments

Comments
 (0)