1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api
Giteabot b84303ef6e
Fix 500 when pushing release to an empty repo (#29554) (#29564)
Backport #29554 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 (#28726) backport v1.21 (#28832) 2024-01-22 09:49:21 +08:00
packages Fix incorrect relative/absolute URL usages (#29531) (#29547) 2024-03-02 18:00:15 +00:00
v1 Fix 500 when pushing release to an empty repo (#29554) (#29564) 2024-03-03 17:10:22 +00:00