Documentation
¶
Index ¶
- func GetReleases(ctx context.Context, client *github.Client, repos []*github.Repository) ([]*github.PullRequest, error)
- func Process(ctx context.Context, client *github.Client, repo *github.Repository, ...) (string, error)
- func Release(ctx context.Context, client *github.Client, releases []*github.PullRequest, ...) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReleases ¶ added in v0.1.0
func GetReleases(ctx context.Context, client *github.Client, repos []*github.Repository) ([]*github.PullRequest, error)
GetReleases takes a context, github client, and respos to iterate and collects release pull requests for the repos.
func Process ¶
func Process(ctx context.Context, client *github.Client, repo *github.Repository, dryRun bool) (string, error)
Process takes a github client, context for the client, and a repo to process. It returns the resulting pull request URL or an error if any are encountered.
func Release ¶ added in v0.1.0
func Release(ctx context.Context, client *github.Client, releases []*github.PullRequest, dryRun bool) ([]string, error)
Release takex context, githug blient, a list of releases, and whether or not to perform a dry run. If it is not a dry run and the pull request is mergeable, it will merge it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.