Fixes based on comments.

This commit is contained in:
g-samroberts
2026-02-05 20:26:40 -08:00
parent 3e69be20e5
commit 9f0a29c648
2 changed files with 8 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ Write concise summaries including the primary PR and author
4. Do not add the "New Contributors" section.
5. Update the "Full changelog:" link with the previous version and the new
vesion, unless it is a patch or a bug fix, in which case simply update the
version, unless it is a patch or a bug fix, in which case simply update the
link's new version and keep the previous version the same.
6. Ensure lines are wrapped to 80 characters.

View File

@@ -15,6 +15,10 @@ on:
description: 'Release notes body'
required: true
type: 'string'
time:
description: 'Release time'
required: true
type: 'string'
jobs:
generate-release-notes:
@@ -39,8 +43,10 @@ jobs:
run: |
VERSION="${{ github.event.inputs.version || github.event.release.tag_name }}"
BODY="${{ github.event.inputs.body || github.event.release.body }}"
TIME="${{ github.event.inputs.time || github.event.release.created_at }}"
echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
echo "TIME=${TIME}" >> "$GITHUB_OUTPUT"
# Use a heredoc to preserve multiline release body
echo 'RAW_CHANGELOG<<EOF' >> "$GITHUB_OUTPUT"
@@ -61,7 +67,7 @@ jobs:
**Release Information:**
- New Version: $VERSION
- Release Date: $(date +%Y-%m-%d)
- Release Date: $TIME
- Raw Changelog Data: $RAW_CHANGELOG
Execute the release notes generation process using the information provided.