Use latest stable channel release if there's no beta release (#12823)

(cherry picked from commit 65213a1782)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-12 22:12:16 +00:00
committed by GitHub
parent d3ef061044
commit 9598114658

View File

@ -5,7 +5,11 @@ cd "$(dirname "$0")"
eval "$(../ci/channel-info.sh)" 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}" VERSION_FOR_DOCS_RS="${LATEST_SOLANA_RELEASE_VERSION:1}"
set -x set -x