I could see value in a release:finalize goal that is a no-op for non-DCVS
but does a push changes for DCVS

It would mean that you could go

mvn release:prepare release:perform release:finalize

in one command to close it all out

On 10 April 2015 at 22:36, Robert Scholte <rfscho...@apache.org> wrote:

> Hmmm, no so sure about that.
> The whole concept is that 'prepare' should do all the scm actions.
> 'perform' should only do a checkout from the tag and run 'mvn deploy'.
> There should be as less as possible actions after uploading the artifacts
> to a repository manager.
> Did you ever face issues with deploying the site (well, I did... it's not
> nice but I know the workarounds)
>
> the maven-release-plugin is already quite complex, we should try to keep
> the chances of a failing release as low as possible.
>
> Robert
>
>
> Op Fri, 10 Apr 2015 22:49:44 +0200 schreef Mirko Friedenhagen <
> mfriedenha...@apache.org>:
>
>
>  Hello,
>>
>> we now have pushChanges and localCheckout in the release:prepare goal.
>> IMO pushing commits and tags after a successful release:perform or
>> release:stage would be a good thing then, as this will probably
>> succeed most of the times.
>>
>> What do you think about something like pushChangesAfterPerform?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to