Skip to content

Commit eed4268

Browse files
committed
fix: Don't remove existing values for release
1 parent b2eae3c commit eed4268

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scm/driver/github/release.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ type release struct {
2626
}
2727

2828
type releaseInput struct {
29-
Title string `json:"name"`
30-
Description string `json:"body"`
31-
Tag string `json:"tag_name"`
32-
Commitish string `json:"target_commitish"`
29+
Title string `json:"name,omitempty"`
30+
Description string `json:"body,omitempty"`
31+
Tag string `json:"tag_name,omitempty"`
32+
Commitish string `json:"target_commitish,omitempty"`
3333
Draft bool `json:"draft"`
3434
Prerelease bool `json:"prerelease"`
3535
}

0 commit comments

Comments
 (0)