diff --git a/docusaurus.config.js b/docusaurus.config.js index 5c1dcf12..e1cc0289 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -108,7 +108,7 @@ const config = { banner: 'unreleased', }, '1.21': { - label: '1.21.1', + label: '1.21.2', }, '1.20': { label: '1.20.6' @@ -198,7 +198,7 @@ const config = { position: 'right', items: [ {to: '/api/next/', label: '1.22-dev' }, - {to: '/api/1.21/', label: '1.21.1' }, + {to: '/api/1.21/', label: '1.21.2' }, {to: '/api/1.20/', label: '1.20.6' }, {to: '/api/1.19/', label: '1.19.4' }, ], diff --git a/loop_docs.sh b/loop_docs.sh index f77323f7..57f1fe84 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.1" + minorVer="1.21.2" 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-dev"/' static/swagger-latest.json elif [ "$version" == "1.21" ]; then - SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.1"/' static/swagger-21.json + SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.2"/' 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