diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go index 7216850633..bf18acb8fe 100644 --- a/services/forms/repo_form.go +++ b/services/forms/repo_form.go @@ -696,11 +696,12 @@ func (f *GenerateReleaseNotesForm) Validate(req *http.Request, errs binding.Erro // EditReleaseForm form for changing release type EditReleaseForm struct { - Title string `form:"title" binding:"Required;MaxSize(255)"` - Content string `form:"content"` - Draft string `form:"draft"` - Prerelease bool `form:"prerelease"` - Files []string + Title string `form:"title" binding:"Required;MaxSize(255)"` + Content string `form:"content"` + Draft string `form:"draft"` + Prerelease bool `form:"prerelease"` + Files []string + UpdateStream string } // Validate validates the fields