CI: Don't overwrite pre-existing $CHANNEL
This commit is contained in:
parent
9dabcfc388
commit
05de260216
|
@ -95,12 +95,14 @@ elif [[ -n $CI_BRANCH ]]; then
|
||||||
BRANCH="$CI_BRANCH"
|
BRANCH="$CI_BRANCH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $BRANCH = "$STABLE_CHANNEL" ]]; then
|
if [[ -z "$CHANNEL" ]]; then
|
||||||
CHANNEL=stable
|
if [[ $BRANCH = "$STABLE_CHANNEL" ]]; then
|
||||||
elif [[ $BRANCH = "$EDGE_CHANNEL" ]]; then
|
CHANNEL=stable
|
||||||
CHANNEL=edge
|
elif [[ $BRANCH = "$EDGE_CHANNEL" ]]; then
|
||||||
elif [[ $BRANCH = "$BETA_CHANNEL" ]]; then
|
CHANNEL=edge
|
||||||
CHANNEL=beta
|
elif [[ $BRANCH = "$BETA_CHANNEL" ]]; then
|
||||||
|
CHANNEL=beta
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo EDGE_CHANNEL="$EDGE_CHANNEL"
|
echo EDGE_CHANNEL="$EDGE_CHANNEL"
|
||||||
|
|
Loading…
Reference in New Issue