You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Roper (JIRA)" <ji...@apache.org> on 2016/03/29 03:57:25 UTC
[jira] [Created] (MRELEASE-946) pushChanges in release:perform
James Roper created MRELEASE-946:
------------------------------------
Summary: pushChanges in release:perform
Key: MRELEASE-946
URL: https://issues.apache.org/jira/browse/MRELEASE-946
Project: Maven Release Plugin
Issue Type: Improvement
Reporter: James Roper
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)