Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent 500 on draft releases without tag (#16634) #16636

Merged
merged 1 commit into from
Aug 6, 2021

Commits on Aug 6, 2021

  1. 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 <art27@cantab.net>
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    3 people committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    271ba75 View commit details
    Browse the repository at this point in the history