Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent 500 on draft releases without tag (go-gitea#16634)
It is possible to create draft releases prior to creating a tag. This will cause a 500 on the releases page due to compare page failing. This PR only shows the compare button if there is a SHA1 present. Fix go-gitea#16610 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
- Loading branch information