mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-24 09:13:40 +08:00
Title can be empty when creating tag only (#23917)
Fixes #23809 Make the title not required. If the title is empty when creating release (not tag), an error message will be displayed. 
This commit is contained in:
@ -693,7 +693,7 @@ type UpdateAllowEditsForm struct {
|
||||
type NewReleaseForm struct {
|
||||
TagName string `binding:"Required;GitRefName;MaxSize(255)"`
|
||||
Target string `form:"tag_target" binding:"Required;MaxSize(255)"`
|
||||
Title string `binding:"Required;MaxSize(255)"`
|
||||
Title string `binding:"MaxSize(255)"`
|
||||
Content string
|
||||
Draft string
|
||||
TagOnly string
|
||||
|
||||
Reference in New Issue
Block a user