mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-24 23:28:06 +00:00
fix date
This commit is contained in:
parent
f25f13e789
commit
6d0fe3e2ee
2
.github/workflows/github-release.yml
vendored
2
.github/workflows/github-release.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
|
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" '
|
awk -v date="## $YESTERDAY" '
|
||||||
$0 ~ date {found=1; print; next}
|
$0 ~ date {found=1; print; next}
|
||||||
found && /^## [0-9]{4}-[0-9]{2}-[0-9]{2}/ {exit}
|
found && /^## [0-9]{4}-[0-9]{2}-[0-9]{2}/ {exit}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user