Update 1.21.0 version

This commit is contained in:
Lunny Xiao
2023-11-15 13:16:15 +08:00
parent d669bc9720
commit 1f528ecb35
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ if [ "$version" == "1.19" ]; then
elif [ "$version" == "1.20" ]; then
minorVer="1.20.5"
elif [ "$version" == "1.21" ]; then
minorVer="1.21.0-rc1"
minorVer="1.21.0"
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.0-rc0"/' static/swagger-21.json
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.0"/' static/swagger-21.json
elif [ "$version" == "1.20" ]; then
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.4"/' static/swagger-20.json
elif [ "$version" == "1.19" ]; then