If gitea version is not detected, just fall back to last supported one and print warning (#538)

close #531

Reviewed-on: https://gitea.com/gitea/tea/pulls/538
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
6543
2023-04-03 13:49:33 +08:00
parent 3640bbac5e
commit b510756438
3 changed files with 9 additions and 4 deletions

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.18
require (
code.gitea.io/gitea-vet v0.2.1
code.gitea.io/sdk/gitea v0.15.1-0.20220927025037-8f846bdb9bbe
code.gitea.io/sdk/gitea v0.15.1-0.20230402213053-7511c6d3cd04
gitea.com/noerw/unidiff-comments v0.0.0-20220822113322-50f4daa0e35c
github.com/AlecAivazis/survey/v2 v2.3.6
github.com/adrg/xdg v0.4.0