1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/routers/api
Giteabot b84303ef6e
Fix 500 when pushing release to an empty repo () ()
Backport  by @lng2020

As title. 
The former code directly used `ctx.Repo.GitRepo`, causing 500.

22b4f0c09f/routers/api/v1/repo/release.go (L241)

Co-authored-by: Nanguan Lin <nanguanlin6@gmail.com>
2024-03-03 17:10:22 +00:00
..
actions Fix uploaded artifacts should be overwritten () backport v1.21 () 2024-01-22 09:49:21 +08:00
packages Fix incorrect relative/absolute URL usages () () 2024-03-02 18:00:15 +00:00
v1 Fix 500 when pushing release to an empty repo () () 2024-03-03 17:10:22 +00:00