Skip to contents

Get a list of GitHub releases using gh::gh().

Usage

gh_releases(repo, owner, .limit = Inf)

Arguments

repo

the name of the repository.

owner

the account owner of the repository.

.limit

Number of records to return. This can be used instead of manual pagination. By default it is NULL, which means that the defaults of the GitHub API are used. You can set it to a number to request more (or less) records, and also to Inf to request all records. Note, that if you request many records, then multiple GitHub API calls are used to get them, and this can take a potentially long time.

Value

data.frame containing releases from the repository.

Details

Returns gh_releases()$time in UTC, set to created_at for drafts, and published_at for all others.