Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-706

Add "scmTagComment" and "scmPostTagComment" parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • prepare
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jackienoi Jackie Noi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: