diff --git a/docs/set-solana-release-tag.sh b/docs/set-solana-release-tag.sh index 20fb61af01..af8426526a 100755 --- a/docs/set-solana-release-tag.sh +++ b/docs/set-solana-release-tag.sh @@ -6,15 +6,15 @@ cd "$(dirname "$0")" eval "$(../ci/channel-info.sh)" if [[ -n $BETA_CHANNEL_LATEST_TAG ]]; then - LATEST_SOLANA_RELEASE_VERSION=$BETA_CHANNEL_LATEST_TAG + LATEST_AGAVE_RELEASE_VERSION=$BETA_CHANNEL_LATEST_TAG else - LATEST_SOLANA_RELEASE_VERSION=$STABLE_CHANNEL_LATEST_TAG + LATEST_AGAVE_RELEASE_VERSION=$STABLE_CHANNEL_LATEST_TAG fi -VERSION_FOR_DOCS_RS="${LATEST_SOLANA_RELEASE_VERSION:1}" +VERSION_FOR_DOCS_RS="${LATEST_AGAVE_RELEASE_VERSION:1}" set -x if [[ -n $CI ]]; then sed --version || { echo "Error: Incompatible version of sed, use gnu sed"; exit 1; } - find src/ -name \*.md -exec sed -i "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \; + find src/ -name \*.md -exec sed -i "s/LATEST_AGAVE_RELEASE_VERSION/$LATEST_AGAVE_RELEASE_VERSION/g" {} \; find src/ -name \*.md -exec sed -i "s/VERSION_FOR_DOCS_RS/$VERSION_FOR_DOCS_RS/g" {} \; fi