Assume that we are building the 3.0.0~beta2 version.
In this doc we assume that the created jira is OBMFULL-1234
Be on the latest master version
git branch -D master
git checkout origin/master -b master
Tag pom files
find . -type f -name pom.xml -exec sed -i 's!3.0.0-SNAPSHOT!3.0.0-beta2!' {} \;
In the main pom.xml search for the xml tag "opush.packaging.version" and remove the tailing ~git$
You should get <opush.packaging.version>${opush.release}~beta2</opush.packaging.version>
git commit -a -m "OBMFULL-1234 Bump version to 3.0.0-beta2"
git tag 3.0.0-beta2
git revert --no-edit HEAD
In opush.packaging.version, replace beta2 by beta3
git commit -a -m "OBMFULL-1234 Bump version to 3.0.0~beta3~git"
git push origin master --tags
go on https://ci-obm.linagora.com/jenkins/view/1-package-release/job/poll-release-25/build
TAG = 3.0.0~beta2
TARGET_REPO_NAME = testing