Add release title to github-release.yml (#481)

This commit is contained in:
Håvard Gjøby Thom 2024-11-24 22:19:53 +01:00 committed by GitHub
parent a0516b43a0
commit 3c045b967c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,5 +21,5 @@ jobs:
YESTERDAY_CHANGELOG_NOTES=$(awk '/^## '"$YESTERDAY"'/ {f=1; next} f && /^## [0-9]{4}-[0-9]{2}-[0-9]{2}/ {f=0} f && !/^## / {print}' CHANGELOG.md)
if [ -n "$YESTERDAY_CHANGELOG_NOTES" ]; then
gh release create "$YESTERDAY" -n "$YESTERDAY_CHANGELOG_NOTES" --latest
gh release create "$YESTERDAY" -t "$YESTERDAY" -n "$YESTERDAY_CHANGELOG_NOTES" --latest
fi