Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 500 when pushing release to an empty repo (go-gitea#29554)
As title. The former code directly used `ctx.Repo.GitRepo`, causing 500. https://github.com/go-gitea/gitea/blob/22b4f0c09f1de5e581929bd10f39833d30d2c482/routers/api/v1/repo/release.go#L241
- Loading branch information