axion-release-plugin icon indicating copy to clipboard operation
axion-release-plugin copied to clipboard

Add commit message of latest commit to ScmPosition

Open gabrieljones opened this issue 4 years ago • 4 comments

I would like to consider the trailers in the commit message of the HEAD commit in my versionCreator lambda.

gabrieljones avatar Sep 24 '21 17:09 gabrieljones

Maybe while we are at it we should add all the rest of the commit headers, the standard headers as well as the extra headers if any. https://github.com/git/git/blob/v2.33.0/commit.c#L1299-L1320

gabrieljones avatar Sep 24 '21 18:09 gabrieljones

I think it's a cool idea ;)

bgalek avatar Sep 29 '21 22:09 bgalek

@gabrieljones do You want to make PR? :)

bgalek avatar Sep 29 '21 22:09 bgalek

Can it be fetchet with configurable deph of commits? This is solves https://github.com/allegro/axion-release-plugin/issues/497

vladimirfx avatar Sep 15 '22 21:09 vladimirfx