Auto-detect bugtracker on Gitea
This commit is contained in:
parent
26496c310e
commit
2f0a7050ac
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue