Skip to content

Commit

Permalink
fix: Don't remove existing values for release
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jun 28, 2022
1 parent b2eae3c commit eed4268
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scm/driver/github/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ type release struct {
}

type releaseInput struct {
Title string `json:"name"`
Description string `json:"body"`
Tag string `json:"tag_name"`
Commitish string `json:"target_commitish"`
Title string `json:"name,omitempty"`
Description string `json:"body,omitempty"`
Tag string `json:"tag_name,omitempty"`
Commitish string `json:"target_commitish,omitempty"`
Draft bool `json:"draft"`
Prerelease bool `json:"prerelease"`
}
Expand Down

0 comments on commit eed4268

Please sign in to comment.