On 26 June 2013 10:19, sebb <[email protected]> wrote: > On 26 June 2013 01:41, Olivier Lamy <[email protected]> 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 target/checkout has the same results. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
