Upgrade to v1.21.11

This commit is contained in:
Lunny Xiao
2024-04-24 12:38:19 +08:00
parent c6c62ade65
commit a5479d165f
2 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ const config = {
banner: 'unreleased',
},
'1.21': {
label: '1.21.10',
label: '1.21.11',
},
'1.20': {
label: '1.20.6'

View File

@@ -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