Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
XSAM committed Jul 11, 2024
1 parent 05f535c commit fbf2628
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/verify_released_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ awk '/^\<!-- Released section --\>/ {flag=1} /^\<!-- Released section ended --\>
# Extract released sections from the current version
awk '/^\<!-- Released section --\>/ {flag=1} /^\<!-- Released section ended --\>/ {flag=0} flag' "$CURRENT_FILE" > "$CURRENT_LOCKED_FILE"

echo CURRENT_LOCKED_FILE
cat $CURRENT_LOCKED_FILE

echo PREVIOUS_LOCKED_FILE
cat $PREVIOUS_LOCKED_FILE

# Compare the released sections
if ! diff -q "$PREVIOUS_LOCKED_FILE" "$CURRENT_LOCKED_FILE"; then
echo "Error: The released sections of the changelog file have been modified."
Expand Down

0 comments on commit fbf2628

Please sign in to comment.