|
|
@ -371,7 +371,7 @@ func (f *MergePullRequestForm) Validate(ctx *macaron.Context, errs binding.Error |
|
|
|
|
|
|
|
// NewReleaseForm form for creating release
|
|
|
|
type NewReleaseForm struct { |
|
|
|
TagName string `binding:"Required"` |
|
|
|
TagName string `binding:"Required;GitRefName"` |
|
|
|
Target string `form:"tag_target" binding:"Required"` |
|
|
|
Title string `binding:"Required"` |
|
|
|
Content string |
|
|
|