1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api
Nanguan Lin 6e2aafd513
Fix 500 when pushing release to an empty repo (#29554)
As title. 
The former code directly used `ctx.Repo.GitRepo`, causing 500.

22b4f0c09f/routers/api/v1/repo/release.go (L241)
2024-03-03 16:49:05 +00:00
..
actions Actions Artifacts v4 backend (#28965) 2024-03-02 09:12:17 +00:00
packages Fix incorrect relative/absolute URL usages (#29531) 2024-03-02 17:38:38 +00:00
v1 Fix 500 when pushing release to an empty repo (#29554) 2024-03-03 16:49:05 +00:00