File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ PREVIOUS_LOCKED_FILE="$TEMP_DIR/previous_locked_section.md"
25
25
CURRENT_LOCKED_FILE=" $TEMP_DIR /current_locked_section.md"
26
26
27
27
# 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 "
29
29
30
30
# 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 "
32
32
33
33
# Compare the released sections
34
34
if ! diff -q " $PREVIOUS_LOCKED_FILE " " $CURRENT_LOCKED_FILE " ; then
You can’t perform that action at this time.
0 commit comments