Use latest stable channel release if there's no beta release

This commit is contained in:
Michael Vines 2020-10-12 14:15:44 -07:00 committed by mergify[bot]
parent c24da1ee16
commit 65213a1782
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@ cd "$(dirname "$0")"
eval "$(../ci/channel-info.sh)"
LATEST_SOLANA_RELEASE_VERSION=$BETA_CHANNEL_LATEST_TAG
if [[ -n $BETA_CHANNEL_LATEST_TAG ]]; then
LATEST_SOLANA_RELEASE_VERSION=$BETA_CHANNEL_LATEST_TAG
else
LATEST_SOLANA_RELEASE_VERSION=$STABLE_CHANNEL_LATEST_TAG
fi
VERSION_FOR_DOCS_RS="${LATEST_SOLANA_RELEASE_VERSION:1}"
set -x