Do not update upper constraints for intermediate branches

They should use the current upper constraints.

Change-Id: If6d2d747c1db2b905e89354930647955aece9202
This commit is contained in:
Riccardo Pittau 2020-08-17 17:28:17 +02:00
parent 82a8bd9548
commit 8d4315ec47

View File

@ -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