Skip to content

Commit

Permalink
Merge pull request #335 from jenkins-x/omitempty
Browse files Browse the repository at this point in the history
fix: Don't remove existing values for release
  • Loading branch information
jenkins-x-bot authored Jun 28, 2022
2 parents b2eae3c + eed4268 commit d90d8e3
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 d90d8e3

Please sign in to comment.