mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
Fix 1.20 minor version (#95)
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/95 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: lng2020 <nanguanlin6@gmail.com> Co-committed-by: lng2020 <nanguanlin6@gmail.com>
This commit is contained in:
@@ -111,7 +111,7 @@ const config = {
|
|||||||
label: '1.21.1',
|
label: '1.21.1',
|
||||||
},
|
},
|
||||||
'1.20': {
|
'1.20': {
|
||||||
label: '1.20.5'
|
label: '1.20.6'
|
||||||
},
|
},
|
||||||
'1.19': {
|
'1.19': {
|
||||||
label: '1.19.4',
|
label: '1.19.4',
|
||||||
@@ -199,7 +199,7 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{to: '/api/next/', label: '1.22-dev' },
|
{to: '/api/next/', label: '1.22-dev' },
|
||||||
{to: '/api/1.21/', label: '1.21.1' },
|
{to: '/api/1.21/', label: '1.21.1' },
|
||||||
{to: '/api/1.20/', label: '1.20.4' },
|
{to: '/api/1.20/', label: '1.20.6' },
|
||||||
{to: '/api/1.19/', label: '1.19.4' },
|
{to: '/api/1.19/', label: '1.19.4' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ if [ "$version" == "1.19" ]; then
|
|||||||
minorVer="1.19.4"
|
minorVer="1.19.4"
|
||||||
minGoVer="1.19"
|
minGoVer="1.19"
|
||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
minorVer="1.20.5"
|
minorVer="1.20.6"
|
||||||
elif [ "$version" == "1.21" ]; then
|
elif [ "$version" == "1.21" ]; then
|
||||||
minorVer="1.21.1"
|
minorVer="1.21.1"
|
||||||
fi
|
fi
|
||||||
@@ -58,7 +58,7 @@ if [ "$version" == "latest" ]; then
|
|||||||
elif [ "$version" == "1.21" ]; then
|
elif [ "$version" == "1.21" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.1"/' static/swagger-21.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.21.1"/' static/swagger-21.json
|
||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.5"/' 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
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.19.4"/' static/swagger-19.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.19.4"/' static/swagger-19.json
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user