aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKemal Zebari <60799661+kemzeb@users.noreply.github.com>2025-06-17 22:12:38 -0700
committerGitHub <noreply@github.com>2025-06-18 05:12:38 +0000
commit416ff1fd319643c81330f624c083cfdc1280a94e (patch)
tree5211548e3bdde9a5641cf6f1e548a732cf37d5d6 /modules
parent0e6c1224e5e80757707a675d46189ce8ca2da534 (diff)
downloadgitea-416ff1fd319643c81330f624c083cfdc1280a94e.tar.gz
gitea-416ff1fd319643c81330f624c083cfdc1280a94e.zip
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>
Diffstat (limited to 'modules')
-rw-r--r--modules/structs/release.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/release.go b/modules/structs/release.go
index c7378645c2..fac86ca7a2 100644
--- a/modules/structs/release.go
+++ b/modules/structs/release.go
@@ -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"`