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"
|
||||
fi
|
||||
|
||||
if [[ -z "$CHANNEL" ]]; then
|
||||
if [[ $BRANCH = "$STABLE_CHANNEL" ]]; then
|
||||
CHANNEL=stable
|
||||
elif [[ $BRANCH = "$EDGE_CHANNEL" ]]; then
|
||||
|
@ -102,6 +103,7 @@ elif [[ $BRANCH = "$EDGE_CHANNEL" ]]; then
|
|||
elif [[ $BRANCH = "$BETA_CHANNEL" ]]; then
|
||||
CHANNEL=beta
|
||||
fi
|
||||
fi
|
||||
|
||||
echo EDGE_CHANNEL="$EDGE_CHANNEL"
|
||||
echo BETA_CHANNEL="$BETA_CHANNEL"
|
||||
|
|
Loading…
Reference in New Issue