Skip to content

[CI] Add release note generating step in the release action#635

Open
YooSunYoung wants to merge 2 commits into
mainfrom
auto-release-note
Open

[CI] Add release note generating step in the release action#635
YooSunYoung wants to merge 2 commits into
mainfrom
auto-release-note

Conversation

@YooSunYoung

@YooSunYoung YooSunYoung commented Jun 10, 2026

Copy link
Copy Markdown
Member

Release note editting steps are added in the release.yml.

It's split into two jobs:

  • download all the relevant commits/pr information using github API (bash script)
  • generate the release note from the downloaded information (python script)

I tested in a fork https://github.com/YooSunYoung/ess/releases/tag/essnmx%2F26.6.2
but not sure if it would work as expected in the action here as well...

Manual Test

Here is the example how I ran the scripts using essnmx/26.6.0 and essnmx/26.4.0 as an example.

Prerequisites

git fetch --tags  # Or only relevant tags...

Download the commit information

The script only runs with bash since it has some syntax that sh doesn't have...

bash tools/download-release-diff-info.sh essnmx/26.6.0 essnmx/26.4.0

Generate release note.

pixi run --frozen python tools/collect-release-notes.py --cur-tag essnmx/26.6.0 --compare-tag essnmx/26.4.0

By default, the generated note will be stored under .ess_release_cache/,

so in this case, .ess_release_cache/essnmx-26.6.0-essnmx-26.4.0-releasenote.md.

Here is the example output from this test:

What's Changed

ESSnmx

Full Changelog: essnmx/26.4.0...essnmx/26.6.0

@github-actions github-actions Bot added the CI label Jun 10, 2026
@github-actions github-actions Bot changed the title Add release note generating step in the release action [CI] Add release note generating step in the release action Jun 10, 2026
@YooSunYoung YooSunYoung marked this pull request as ready for review June 11, 2026 08:24
@jokasimr

Copy link
Copy Markdown
Contributor

Interesting! Will this workflow overwrite whatever was in the release notes originally? Or just append to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants