Auto-detect bugtracker on Gitea

This commit is contained in:
Martchus 2018-12-08 19:04:48 +01:00
parent 26496c310e
commit 2f0a7050ac
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ endif()
# set bugtracker URL # set bugtracker URL
if(NOT META_APP_BUGTRACKER_URL) if(NOT META_APP_BUGTRACKER_URL)
if(META_APP_URL MATCHES "https://(github.com|gitlab.com|.*/gogs|gogs.*)/.*") if(META_APP_URL MATCHES "https://(github.com|gitlab.com|.*/(gogs|gitea)|(gogs|gitea).*)/.*")
set(META_APP_BUGTRACKER_URL "${META_APP_URL}/issues") set(META_APP_BUGTRACKER_URL "${META_APP_URL}/issues")
else() else()
set(META_APP_BUGTRACKER_URL "${META_APP_URL}") set(META_APP_BUGTRACKER_URL "${META_APP_URL}")