Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 6abddde

Browse files
noerwtechknowlogick
authored andcommitted
make Release.Target a required parameter (#133)
1 parent d939423 commit 6abddde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitea/release.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (c *Client) GetRelease(user, repo string, id int64) (*Release, error) {
5353
type CreateReleaseOption struct {
5454
// required: true
5555
TagName string `json:"tag_name" binding:"Required"`
56-
Target string `json:"target_commitish"`
56+
Target string `json:"target_commitish" binding:"Required"`
5757
Title string `json:"name"`
5858
Note string `json:"body"`
5959
IsDraft bool `json:"draft"`

0 commit comments

Comments
 (0)