pb_release_create {piggyback} | R Documentation |
Create a new release on GitHub repo
Description
Create a new release on GitHub repo
Usage
pb_release_create(
repo = guess_repo(),
tag,
commit = NULL,
name = tag,
body = "Data release",
draft = FALSE,
prerelease = FALSE,
.token = gh::gh_token()
)
Arguments
repo |
Repository name in format "owner/repo". Will guess the current repo if not specified. |
tag |
tag to create for this release |
commit |
Specifies the commit-ish value that
determines where the Git tag is created from.
Can be any branch or full commit SHA (not the short hash). Unused if the
git tag already exists. Default: the repository's
default branch (usually |
name |
The name of the release. Defaults to tag. |
body |
Text describing the contents of the tag. default text is "Data release". |
draft |
default |
prerelease |
default |
.token |
GitHub authentication token, see |
See Also
Other release_management:
pb_release_delete()
Examples
## Not run:
pb_release_create("cboettig/piggyback-tests", "v0.0.5")
## End(Not run)
[Package piggyback version 0.1.5 Index]