mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 10:17:42 +00:00
upgrade version from 1.21.5 -> 1.21.6
This commit is contained in:
@@ -112,7 +112,7 @@ const config = {
|
|||||||
banner: 'unreleased',
|
banner: 'unreleased',
|
||||||
},
|
},
|
||||||
'1.21': {
|
'1.21': {
|
||||||
label: '1.21.5',
|
label: '1.21.6',
|
||||||
},
|
},
|
||||||
'1.20': {
|
'1.20': {
|
||||||
label: '1.20.6'
|
label: '1.20.6'
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ if [ "$version" == "1.19" ]; then
|
|||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
minorVer="1.20.6"
|
minorVer="1.20.6"
|
||||||
elif [ "$version" == "1.21" ]; then
|
elif [ "$version" == "1.21" ]; then
|
||||||
minorVer="1.21.5"
|
minorVer="1.21.6"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docs_dir="versioned_docs/version-$version"
|
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
|
if [ "$version" == "latest" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.22-dev"/' static/swagger-latest.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.22-dev"/' static/swagger-latest.json
|
||||||
elif [ "$version" == "1.21" ]; then
|
elif [ "$version" == "1.21" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.5"/' static/swagger-21.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.6"/' static/swagger-21.json
|
||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.6"/' static/swagger-20.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.6"/' static/swagger-20.json
|
||||||
elif [ "$version" == "1.19" ]; then
|
elif [ "$version" == "1.19" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user