Documentation ¶
Index ¶
- func CheckUpstreamRelease(ctx context.Context, client *github.Client, org, repo string, tags []string) (map[string]bool, error)
- func DeleteAssetByID(ctx context.Context, client *github.Client, repo, tag string, id int64) error
- func DeleteAssetsByRelease(ctx context.Context, client *github.Client, repo, tag string) error
- func GenReleaseNotes(ctx context.Context, repo, milestone, prevMilestone string, ...) (*bytes.Buffer, error)
- func ListAssets(ctx context.Context, client *github.Client, repo, tag string) ([]*github.ReleaseAsset, error)
- func VerifyAssets(ctx context.Context, client *github.Client, repo string, tags []string) (map[string]bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUpstreamRelease ¶ added in v0.11.0
func CheckUpstreamRelease(ctx context.Context, client *github.Client, org, repo string, tags []string) (map[string]bool, error)
CheckUpstreamRelease takes the given org, repo, and tags and checks for the tags' existence.
func DeleteAssetByID ¶ added in v0.16.0
DeleteAssetByID deletes the release asset associated with the given ID.
func DeleteAssetsByRelease ¶ added in v0.16.0
DeleteAssetsByRelease deletes all release assets for the given release tag.
func GenReleaseNotes ¶
func GenReleaseNotes(ctx context.Context, repo, milestone, prevMilestone string, client *github.Client) (*bytes.Buffer, error)
GenReleaseNotes genereates release notes based on the given milestone, previous milestone, and repository.
func ListAssets ¶ added in v0.16.0
func ListAssets(ctx context.Context, client *github.Client, repo, tag string) ([]*github.ReleaseAsset, error)
ListAssets gets all assets associated with the given release.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.