Skip to content

Commit

Permalink
Add a comment about the accepted values for MakeLatest
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrautealium committed Dec 7, 2022
1 parent 05df1a3 commit 5f4e651
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions github/repos_releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ import (

// RepositoryRelease represents a GitHub release in a repository.
type RepositoryRelease struct {
TagName *string `json:"tag_name,omitempty"`
TargetCommitish *string `json:"target_commitish,omitempty"`
Name *string `json:"name,omitempty"`
Body *string `json:"body,omitempty"`
Draft *bool `json:"draft,omitempty"`
Prerelease *bool `json:"prerelease,omitempty"`
TagName *string `json:"tag_name,omitempty"`
TargetCommitish *string `json:"target_commitish,omitempty"`
Name *string `json:"name,omitempty"`
Body *string `json:"body,omitempty"`
Draft *bool `json:"draft,omitempty"`
Prerelease *bool `json:"prerelease,omitempty"`
// MakeLatest can be one of: "true", "false", or "legacy".
MakeLatest *string `json:"make_latest,omitempty"`
DiscussionCategoryName *string `json:"discussion_category_name,omitempty"`

Expand Down

0 comments on commit 5f4e651

Please sign in to comment.