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

pushChanges in release:perform

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It doesn't make sense to me that the tag should be pushed during the prepare stage when using git - pushing the tag is part of publishing the release. Prior to that, you can tag, commit and undo (change history) as much as you want locally, this is the great thing about a distributed SCM, you don't have to push a tag or other changes until the very last minute, which means if there are any problems while preparing, or even performing the release, you can undo it as if it never happened.

      So while prepare does allow you to not push changes, this means that changes have to be pushed manually (or, at least, I haven't seen an option to allow them to be pushed automatically), which to me defeats the purpose of using the release plugin. I think release:perform should, as a last step, have an option to allow pushing changes.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jroper James Roper
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: