Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintain release notes using GitHub Actions #243

Merged
merged 1 commit into from
Jul 12, 2020

Conversation

mattbrictson
Copy link
Member

This PR sets up a GitHub Actions workflow that uses Release Drafter to automatically maintain release notes on every push to master.

In practice this means that contributors no longer have to manually update the CHANGELOG, which is something that is easy to forget and often introduces tedious merge conflicts.

Instead, Release Drafter automatically adds the title of the PR to the GitHub release notes to a draft release, crediting the author of the PR, and linking to the PR number. Release Drafter furthermore organizes the release notes into sections according to the labels assigned to the PRs:

  • ⚠️ Breaking
  • 🐛 Bug Fix
  • 📚 Docs
  • ✨ Feature
  • 🏠 Housekeeping

This also simplifies the release process for maintainers: instead of manually updating the CHANGELOG, all you have to do is press "publish" on the release draft on GitHub.

This brings capistrano-rails into parity with the configuration of the main capistrano project.

* Install release-drafter GitHub action
* Remove CHANGELOG.md in favor of GitHub releases
* Print reminder when running 'rake release'
@mattbrictson mattbrictson force-pushed the chores/set-up-release-drafter branch from aa11c9e to 2db2372 Compare July 11, 2020 18:37
@mattbrictson mattbrictson added the 🏠 Housekeeping Non-user facing cleanup and maintenance label Jul 11, 2020
@mattbrictson mattbrictson merged commit e44e9c8 into master Jul 12, 2020
@mattbrictson mattbrictson deleted the chores/set-up-release-drafter branch July 12, 2020 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏠 Housekeeping Non-user facing cleanup and maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants