From a5479d165f8a7b19bd0ee5037523f5fa2b7ddb47 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 24 Apr 2024 12:38:19 +0800 Subject: [PATCH] Upgrade to v1.21.11 --- docusaurus.config.js | 2 +- loop_docs.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 02b621bc..be0225ac 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -112,7 +112,7 @@ const config = { banner: 'unreleased', }, '1.21': { - label: '1.21.10', + label: '1.21.11', }, '1.20': { label: '1.20.6' diff --git a/loop_docs.sh b/loop_docs.sh index 16dadda8..5f3afb67 100755 --- a/loop_docs.sh +++ b/loop_docs.sh @@ -29,7 +29,7 @@ if [ "$version" == "1.19" ]; then elif [ "$version" == "1.20" ]; then minorVer="1.20.6" elif [ "$version" == "1.21" ]; then - minorVer="1.21.10" + minorVer="1.21.11" fi docs_dir="versioned_docs/version-$version" @@ -56,7 +56,7 @@ SED_INPLACE "s/@minGoVersion@/$minGoVer/" "$docs_dir/installation/from-source.$l if [ "$version" == "latest" ]; then SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.22-rc0"/' static/swagger-latest.json elif [ "$version" == "1.21" ]; then - SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.10"/' static/swagger-21.json + SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.11"/' static/swagger-21.json elif [ "$version" == "1.20" ]; then SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.6"/' static/swagger-20.json elif [ "$version" == "1.19" ]; then