mirror of https://github.com/go-gitea/gitea.git
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)
pull/29559/head^2
parent
efa631aeea
commit
6e2aafd513
Loading…
Reference in New Issue