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

Add Rake task to format changelog #1272

Merged
merged 1 commit into from
Dec 8, 2020
Merged

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Dec 4, 2020

After our changelog was linkified in #1267, we should have mechanisms in place to ensure it stays that way.

This PR adds a Rake task that formats the changelog with the proper GitHub links: rake changelog:format.

There's also a new CI that verifies the the changelog was properly formatted prior to release. This jobs runs on release branches, which we name with the pattern bump_to_version_.*. If we forget to format the changelog, we'll be reminded by in our version bump PR.

@marcotc marcotc added the dev/ci Involves CircleCI, GitHub Actions, or GitLab label Dec 4, 2020
@marcotc marcotc self-assigned this Dec 4, 2020
@marcotc marcotc requested a review from a team December 4, 2020 20:58
@@ -50,6 +50,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'minitest', '= 5.10.1'
spec.add_development_dependency 'minitest-around', '0.5.0'
spec.add_development_dependency 'minitest-stub_any_instance', '1.0.2'
spec.add_development_dependency 'pimpmychangelog', '>= 0.1.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to pin to a specific minor version here since this isn't 1.0 yet?

Copy link
Contributor

@ericmustin ericmustin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, had a small question around the changelog gem

@marcotc marcotc merged commit a6d20a3 into master Dec 8, 2020
@marcotc marcotc deleted the add-changelog-rake-task branch December 8, 2020 16:48
@github-actions github-actions bot added this to the 0.44.0 milestone Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/ci Involves CircleCI, GitHub Actions, or GitLab
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants