From aa44dc87c5c0eb6a7d02d5306ace15c40baac9cb Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:53:54 -0500 Subject: [PATCH] v2.0: Update latest release variable for agave docs (backport of #3220) (#3221) Update latest release variable for agave docs (#3220) Update latest release variable for agave (cherry picked from commit df97398f0d24b4bc45361b01e8efa7f149261cab) Co-authored-by: Will Hickey --- docs/set-solana-release-tag.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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