This commit is contained in:
CanbiZ 2025-03-01 13:16:58 +01:00 committed by GitHub
parent f25f13e789
commit 6d0fe3e2ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ jobs:
run: |
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
# Extract only the section for yesterday
# Extract the changelog section for yesterday, stopping at the next date
awk -v date="## $YESTERDAY" '
$0 ~ date {found=1; print; next}
found && /^## [0-9]{4}-[0-9]{2}-[0-9]{2}/ {exit}