How to release Petalslink projects

compared with
Version 9 by Sandra TRINO
on Jun 17, 2011 13:41.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History

h1. In case of failure

If the script fails in the course of the release process,
* before beginning the automatic release process itself (that is to say during the checkout, the dependencies extraction or the questions to the user about release info),
** just delete the local checkout directory (it is called RELEASE_CHECKOUT)
* after beginning the automatic release process itself,
** change the current directory to the directory of the project which fails (in the local checkout directory) and launch the rollback of the release (*mvn release:rollback*)
** realign all the dependencies of all the POM (in the local checkout directory) by executing the script *realign-all-pom-on-failure*. This script takes as argument, the path of the local checkout directory. It realigns the dependency versions which might be wrong in all the POM of the local checkout directory and commits the necessary corrections. *This step is important because the projects of the trunk may not compile any more because of wrong dependency versions.*
** correct the failure
** return to the release directory and resume (*release.sh resume*).