Upgrade v1.22.0-rc0 -> v1.22.0-rc1 (#130)

Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/130
Reviewed-by: silverwind <silverwind@noreply.gitea.com>
This commit is contained in:
Lunny Xiao
2024-04-28 13:24:49 +00:00
parent a5479d165f
commit 4c2653c03a
2 changed files with 2 additions and 2 deletions

View File

@@ -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': {

View File

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