mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Support annotated tags when using create release API (#31840)
This adds a new field, "tag_message", that represents the message of the annotated tag. Resolves #31835. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -33,6 +33,7 @@ type Release struct { | ||||
| type CreateReleaseOption struct { | ||||
| 	// required: true | ||||
| 	TagName      string `json:"tag_name" binding:"Required"` | ||||
| 	TagMessage   string `json:"tag_message"` | ||||
| 	Target       string `json:"target_commitish"` | ||||
| 	Title        string `json:"name"` | ||||
| 	Note         string `json:"body"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user