Skip to content

Commit

Permalink
Update changelog to form PR message
Browse files Browse the repository at this point in the history
  • Loading branch information
Temikus committed Dec 8, 2020
1 parent 7b9d297 commit 7636b4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/changelog.rake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace :changelog do
task :generate do
insert_after_line("CHANGELOG.md", changes_since_last_tag, /^## Next/)
printf("Users contributed since last release:\n")
printf(users_since_last_tag)
contributors = users_since_last_tag.split("\n").map { |name| "@" + name }
printf("Huge thanks to all our contributors 🎆\n")
printf("Special thanks to: " + contributors.join(" ") + "\n")
printf("\nI'll merge this and release the gem once all tests pass.\n")
end
end

0 comments on commit 7636b4e

Please sign in to comment.