mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 18:27:41 +00:00
Gitea v1.19.4 got released (#40)
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/40
This commit is contained in:
@@ -97,7 +97,7 @@ const config = {
|
|||||||
banner: 'none',
|
banner: 'none',
|
||||||
},
|
},
|
||||||
'1.19': {
|
'1.19': {
|
||||||
label: '1.19.3',
|
label: '1.19.4',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
lastVersion: '1.19',
|
lastVersion: '1.19',
|
||||||
@@ -173,7 +173,7 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{to: '/api/next/', label: '1.21-dev' },
|
{to: '/api/next/', label: '1.21-dev' },
|
||||||
{to: '/api/1.20/', label: '1.20.0-rc0' },
|
{to: '/api/1.20/', label: '1.20.0-rc0' },
|
||||||
{to: '/api/1.19/', label: '1.19.3' },
|
{to: '/api/1.19/', label: '1.19.4' },
|
||||||
],
|
],
|
||||||
className: 'api-dropdown',
|
className: 'api-dropdown',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,10 +23,10 @@ minNodeVer="16"
|
|||||||
minGoVer="1.20"
|
minGoVer="1.20"
|
||||||
goVer="1.20"
|
goVer="1.20"
|
||||||
minorVer="main-nightly"
|
minorVer="main-nightly"
|
||||||
if ["$version" == "1.19"]; then
|
if [ "$version" == "1.19" ]; then
|
||||||
minorVer="1.19.3"
|
minorVer="1.19.4"
|
||||||
minGoVer="1.19"
|
minGoVer="1.19"
|
||||||
elif ["$version" == "1.20"]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
minorVer="1.20.0-rc2"
|
minorVer="1.20.0-rc2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ if [ "$version" == "latest" ]; then
|
|||||||
elif [ "$version" == "1.20" ]; then
|
elif [ "$version" == "1.20" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.0-rc2"/' static/swagger-20.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.20.0-rc2"/' static/swagger-20.json
|
||||||
elif [ "$version" == "1.19" ]; then
|
elif [ "$version" == "1.19" ]; then
|
||||||
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.19.3"/' static/swagger-19.json
|
SED_INPLACE 's/"version": "{{AppVer | JSEscape | Safe}}"/"version": "1.19.4"/' static/swagger-19.json
|
||||||
fi
|
fi
|
||||||
SED_INPLACE 's/"basePath": "{{AppSubUrl | JSEscape | Safe}}/"basePath": "https:\/\/gitea.com/' static/swagger-"$1".json
|
SED_INPLACE 's/"basePath": "{{AppSubUrl | JSEscape | Safe}}/"basePath": "https:\/\/gitea.com/' static/swagger-"$1".json
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user