Skip to content

Create GitHub releases with changelog#6756

Open
Flo0807 wants to merge 1 commit into
phoenixframework:mainfrom
Flo0807:feature/github-release-changelog
Open

Create GitHub releases with changelog#6756
Flo0807 wants to merge 1 commit into
phoenixframework:mainfrom
Flo0807:feature/github-release-changelog

Conversation

@Flo0807

@Flo0807 Flo0807 commented Jul 14, 2026

Copy link
Copy Markdown

Automatically creates a GitHub release with the matching changelog entry
whenever a v* tag is pushed.

  • Add .github/extract-changelog.sh to extract a specific version's section
    from CHANGELOG.md
  • Add .github/workflows/github_release.yml to create the release on tag
    push, using the extracted entry as the release notes (marks -rc tags as
    prereleases)

Same feature I contributed to LiveView in phoenixframework/phoenix_live_view#4135
(issue phoenixframework/phoenix_live_view#4126), adapted to Phoenix's changelog header format (## 1.8.9 (2026-07-07), without the v prefix).

This way, Renovate will show the changelog entries in version updates (see LiveView issue for details).

- Add script to extract a specific changelog entry from CHANGELOG.md
- Add GitHub workflow to automatically create releases on tag push
- Write the extracted changelog entry into the release notes

The extraction is adapted to Phoenix's changelog header format
("## 1.8.9 (2026-07-07)", without a "v" prefix), unlike the
phoenix_live_view equivalent which uses "## v1.2.7 ...".

See phoenixframework/phoenix_live_view#4135
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