...
- Kindly ask the Release Engineering Team for permissions to directly push on the main repository
- Execute maven release plugin to handle branching:
When branching of the
master
, without touching themaster
's versionCode Block language text mvn release:branch \ -Pproduction-backstage-connect-build \ -DbranchName=6.1 \ -DupdateBranchVersions=true \ -DupdateWorkingCopyVersions=false \ -DautoVersionSubmodules=true \ -DreleaseVersion=6.1.0-SNAPSHOT
When branching the master, updating version on the
master
branch onlyCode Block language text mvn release:branch \ -Pproduction-backstage-connect-build \ -DbranchName=6.5 \ -DupdateWorkingCopyVersions=true \ -DautoVersionSubmodules=true \ -DdevelopmentVersion=7.0.0-SNAPSHOT
...