...
- For R0, deliver releases artifacts from master branch as described in previous section.
- Create the release branch in Gerrit for the version you are about to release e.g. 'honolululhonolulu'
- Increase pom version numbers
- In master branch, increase minor version number (if not already done)
- In release branch, increase patch version number
- In release branch, update ".gitreview " (change "defaultbranch" value)
- In ci-management repo, configure new Jenkins jobs for the release branch by adding a new release stream to the project. e.g. https://gerrit.onap.org/r/c/ci-management/+/118868/1/jjb/cps/cps.yaml
Steps to Deliver Release Patches
- Decide with team if a bug should be dropped back to previous release or not, consider things like (use fix-version field in Jira to indicate this)
- bug was reported by user of previous release (easy decision
)
- bug exposes behavior that was not in line with acceptance criteria for a user story that was delivered in previous release
- bug was reported by user of previous release (easy decision
- Make the fix and have it merged in master branch
- Cherry pick the fix from master branch to release branch
- From Gerrit:
- Navigate to ... / Cherry Pick
- Fill the form with the release branch name (honolulu) in "Cherry Pick to branch" field and click "Cherry Pick"
- Locally:
- Create local branch from honolulu
- Cherry-pick commit from master branch
- git push origin HEAD:refs/for/honolulu
- From Gerrit:
- Update Release version if required, see
- Review patch by peers as normal
- Once the fix is in release branch, deliver releases artifacts from release branch as described in previous section.
...