summaryrefslogtreecommitdiffstats
path: root/modules/context/api.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-06 02:13:16 +0100
committerGitHub <noreply@github.com>2021-08-05 21:13:16 -0400
commit067d82b5a6eb223ff6f6bfa1755e0a2c5bab1d3f (patch)
tree4833066c65005d7cc1788a6dcd495f7d04a8d411 /modules/context/api.go
parentab9bb54144f136bbbba2ce2e94fd88c0be0ee1cf (diff)
downloadgitea-067d82b5a6eb223ff6f6bfa1755e0a2c5bab1d3f.tar.gz
gitea-067d82b5a6eb223ff6f6bfa1755e0a2c5bab1d3f.zip
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>
Diffstat (limited to 'modules/context/api.go')
0 files changed, 0 insertions, 0 deletions