From 0a6ca618367d031ddab13775cc054a5f98f935bb Mon Sep 17 00:00:00 2001 From: Itay Dar <118370953+ItayTheDar@users.noreply.github.com> Date: Sun, 10 May 2026 19:43:49 +0300 Subject: [PATCH] ci(release): auto-populate GitHub release notes and changelog sections - Pass `generate_release_notes: true` to softprops/action-gh-release so the published GitHub release body is auto-built from merged PRs since the previous tag (currently empty for v0.6.0 and earlier). - Pass `--bump v$RELEASE_VERSION` to git-changelog so CHANGELOG.md gets a proper versioned section per release instead of perpetually showing only "Unreleased". The `v` prefix matches the existing tag scheme. Co-Authored-By: Claude Opus 4.7 --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3567ffc..e18e4b1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -76,7 +76,7 @@ jobs: run: uv sync --no-dev --group build - name: Update CHANGELOG.md - run: uv run git-changelog . -o "$CHANGELOG_FILE_PATH" + run: uv run git-changelog . -o "$CHANGELOG_FILE_PATH" --bump "v$RELEASE_VERSION" - name: Build package run: uv build --sdist --wheel @@ -109,6 +109,7 @@ jobs: with: name: v${{ env.RELEASE_VERSION }} tag_name: v${{ env.RELEASE_VERSION }} + generate_release_notes: true deploy-docs: needs: release-package