Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
None
Description
Could you add two parameters that control what get written in the SCM comment when mvn release:prepare is run?
I suggest:
- scmTagComment: what should be written in the commit message of the tag;
- scmPostTagComment: what should be written in commit message for the commit with the new version.
For example, in my project ProjectFOO I would set scmTagComment to "Released ProjectFOO (v@{project.version})" and scmPostTagComment to "Prepare for ProjectFOO next development iteration (v@{project.version})". (I suppose @{project.version} will change after the tag has been put.)
Changing commit message of already tagged commits is an uncomfortable process in SVN and Git, I'd love having mvn release:prepare get it right instead of having to fix it manually.