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

One line git commit messege #5

Closed
souzen opened this issue Feb 9, 2016 · 3 comments
Closed

One line git commit messege #5

souzen opened this issue Feb 9, 2016 · 3 comments

Comments

@souzen
Copy link

souzen commented Feb 9, 2016

Hi,
Is it possible to configure git-changelog to include only first line of git commit message in generated changelog?

@tomasbjerre
Copy link
Owner

I'm implementing this as some new variables:

  • messageTitle (Only the first line of the message)
  • messageBody (Everything, except the title)
  • messageBodyItems (List of strings, the lines after the title)

A sample template here:
https://github.com/tomasbjerre/git-changelog-lib/blob/master/src/test/resources/templates/testCommitsVariables.mustache

@tomasbjerre
Copy link
Owner

This is now in 1.14, should be in Maven Central within the hour. Open issue again if any problems.

@souzen
Copy link
Author

souzen commented Feb 10, 2016

Works great. Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants