On 26 June 2013 02:18, Barrie Treloar <baerr...@gmail.com> wrote:
> On 26 June 2013 10:19, sebb <seb...@gmail.com> wrote:
>> On 26 June 2013 01:41, Olivier Lamy <ol...@apache.org> wrote:
>>> correct.
>>> In case of failure during deploy:
>>> * cd target/checkout && mvn clean deploy -Papache-release
>>> or
>>> * export/checkout the tag && mvn clean deploy -Papache-release
>>
>> Neither of those guarantee that the workspace agrees with the tag.
>>
>> Only by checking out the tag into a fresh workspace can you hope to
>> guarantee that.
>
> Then replace
> cd target/checkout && mvn clean deploy -Papache-release
> with
> delete target/checkout
> svn co <blah> to target/checkout
> mvn clean deploy -Papache-release
>
> Since it was mvn release:perform that created target/checkout in the
> first place and no one has made any changes in that directory, cd

You cannot know that for sure.
People make mistakes; try things out, get distracted, forget that they
changed something.

> target/checkout has the same results.

Not guaranteed.

> ---------------------------------------------------------------------
> 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