This question is in reference to Atlassian Documentation: Using plan branches
I have plan targeted to develop branch in git. In bamboo I set automatical creating branches for regexp release/.+
Develop branch I need build with maven profile dev but for all of releases branches need build with prod maven profile.
I have one bamboo variable with maven profile, which is set to dev for dev branches, prod for one master branch. When new release branch is created on bamboo, the variable is set to dev as in plan.