diff --git a/.gemini/skills/docs-changelog/SKILL.md b/.gemini/skills/docs-changelog/SKILL.md index aa4e24dc64..2145ae2123 100644 --- a/.gemini/skills/docs-changelog/SKILL.md +++ b/.gemini/skills/docs-changelog/SKILL.md @@ -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. diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 044c37b9a2..f1ba083ba6 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -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<> "$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.