Skip to content

ci: publish final GitHub Release with notes - #335

Merged
c-vigo merged 1 commit into
devfrom
release/310-final-release-github-release-notes
Mar 17, 2026
Merged

c-vigo merged 1 commit into
devfrom
release/310-final-release-github-release-notes

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Description

Implements issue #310 by extending the release publish stage so final releases automatically create a GitHub Release with notes generated from finalized CHANGELOG.md, while RC releases keep current behavior.

Adds explicit failure paths when release-note extraction fails or when GitHub Release publication cannot proceed, and updates release-cycle documentation to reflect the final-only GitHub Release step.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/release.yml
    • Add final-only step to extract release notes from the finalized CHANGELOG.md section (## [X.Y.Z] - YYYY-MM-DD)
    • Add final-only step to create GitHub Release for X.Y.Z using gh release create --notes-file
    • Fail fast when notes extraction yields no content or when a release already exists for the final tag
  • docs/RELEASE_CYCLE.md
    • Document final-only GitHub Release publication in release flow diagram and publish phase details
  • CHANGELOG.md
  • assets/workspace/CHANGELOG.md
    • Synced by pre-commit sync-manifest hook from root changelog update
  • assets/workspace/.devcontainer/CHANGELOG.md
    • Synced by pre-commit sync-manifest hook from root changelog update

Changelog Entry

Changed

  • Final release now publishes a GitHub Release with finalized notes (#310)
    • Add a final-only publish step in .github/workflows/release.yml that creates a GitHub Release for X.Y.Z
    • Source GitHub Release notes from the finalized CHANGELOG.md section and fail the run if notes extraction or release publishing fails

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Pre-commit hooks required syncing changelog mirrors in assets/workspace/ and .devcontainer/ via sync-manifest.

Refs: #310

@c-vigo c-vigo self-assigned this Mar 17, 2026
@c-vigo
c-vigo requested a review from Copilot March 17, 2026 09:39
@c-vigo
c-vigo merged commit e8a795a into dev Mar 17, 2026
16 checks passed
@c-vigo
c-vigo deleted the release/310-final-release-github-release-notes branch March 17, 2026 10:45
@c-vigo
c-vigo removed the request for review from Copilot March 23, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant