diff --git a/roles/copy-release-tools-scripts/files/release-tools/make_branch.sh b/roles/copy-release-tools-scripts/files/release-tools/make_branch.sh index 6812a8c78a..ae8d61dac0 100755 --- a/roles/copy-release-tools-scripts/files/release-tools/make_branch.sh +++ b/roles/copy-release-tools-scripts/files/release-tools/make_branch.sh @@ -64,8 +64,8 @@ git push gerrit $NEW_BRANCH update_gitreview "$NEW_BRANCH" -# Do not update upper constraints on driverfixes branches -if [[ ! $NEW_BRANCH =~ driverfixes/ ]]; then +# Do not update upper constraints on driverfixes or intermediate branches +if [[ ! $NEW_BRANCH =~ driverfixes/|bugfix/ ]]; then update_upper_constraints "$NEW_BRANCH" fi