0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 19:27:53 +01:00
gitea/templates/repo/release
zeripath 067d82b5a6
Prevent 500 on draft releases without tag (#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 #16610

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-08-05 21:13:16 -04:00
..
list.tmpl Prevent 500 on draft releases without tag (#16634) 2021-08-05 21:13:16 -04:00
new.tmpl