mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
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:
@@ -108,7 +108,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
versions: {
|
versions: {
|
||||||
current: {
|
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',
|
banner: 'unreleased',
|
||||||
},
|
},
|
||||||
'1.21': {
|
'1.21': {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ SED_INPLACE "s/@minGoVersion@/$minGoVer/" "$docs_dir/installation/from-source.$l
|
|||||||
# TODO: improve this sed
|
# TODO: improve this sed
|
||||||
# need confirmation
|
# need confirmation
|
||||||
if [ "$version" == "latest" ]; then
|
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
|
elif [ "$version" == "1.21" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.11"/' static/swagger-21.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.11"/' static/swagger-21.json
|
||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user