diff --git a/docusaurus.config.js b/docusaurus.config.js index be0225ac..7a18e2fd 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -108,7 +108,7 @@ const config = { }, versions: { current: { - label: '1.22-rc0', // path is kept as next for dev (so users can always find "nightly" docs) + label: '1.22-rc1', // path is kept as next for dev (so users can always find "nightly" docs) banner: 'unreleased', }, '1.21': { diff --git a/loop_docs.sh b/loop_docs.sh index 5f3afb67..5240c70d 100755 --- a/loop_docs.sh +++ b/loop_docs.sh @@ -54,7 +54,7 @@ SED_INPLACE "s/@minGoVersion@/$minGoVer/" "$docs_dir/installation/from-source.$l # TODO: improve this sed # need confirmation if [ "$version" == "latest" ]; then - SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.22-rc0"/' static/swagger-latest.json + SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.22-rc1"/' static/swagger-latest.json elif [ "$version" == "1.21" ]; then SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.11"/' static/swagger-21.json elif [ "$version" == "1.20" ]; then