sakaiproject/3akai-ux — pull request #1927 by zathomas (2012-03-29 20:04:59+00:00)
Title: NOJIRA add shell scripts for modifying version numbers in the release process

Whenever we perform a release, we need version numbers changed from, e.g. `1.2-SNAPSHOT` to `1.2` and then after the release is performed, we change from `1.2` to `1.3-SNAPSHOT`.

The maven release plugin does this, but it doesn't know about some of the places in our files where the version numbers need to be changed. That's where these two scripts come in.

There's one to pre-process our files for release, and one to post process. Here's how you would use them in conjunction with the maven release plugin:

./tools/release/release_pre_process_files.sh 1.2 \
&& mvn release:prepare -DpushChanges=false \
&& ./tools/release/release_post_process_files.sh 1.2 1.3