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