Don't check for proposed branches in propose_update
These are not used anymore, so I am reliably informed. Change-Id: I9a4da1d350d1884ba2b263f6945a01ac4e2c33b4
This commit is contained in:
parent
a86d97f497
commit
aca7a864a7
@ -95,11 +95,6 @@ for PROJECT in $PROJECTS; do
|
|||||||
BRANCH=""
|
BRANCH=""
|
||||||
if git branch -a | grep -q "^ remotes/origin/$ZUUL_REFNAME$" ; then
|
if git branch -a | grep -q "^ remotes/origin/$ZUUL_REFNAME$" ; then
|
||||||
BRANCH=$ZUUL_REFNAME
|
BRANCH=$ZUUL_REFNAME
|
||||||
elif echo $ZUUL_REFNAME | grep -q "^stable/" ; then
|
|
||||||
FALLBACK=$(echo $ZUUL_REFNAME | sed s,^stable/,proposed/,)
|
|
||||||
if git branch -a | grep -q "^ remotes/origin/$FALLBACK$" ; then
|
|
||||||
BRANCH=$FALLBACK
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't bother with this project if there's not a usable branch
|
# don't bother with this project if there's not a usable branch
|
||||||
|
Loading…
Reference in New Issue
Block a user