Create a new release on GitHub repo
pb_new_release(
repo = guess_repo(),
tag,
commit = NULL,
name = tag,
body = "Data release",
draft = FALSE,
prerelease = FALSE,
.token = get_token()
)
Repository name in format "owner/repo". Will guess the current repo if not specified.
tag to create for this release
Specifies the commit-ish value that
determines where the Git tag is created from.
Can be any branch or commit SHA. Unused if the
git tag already exists. Default: the repository's
default branch (usually master
).
The name of the release. Defaults to tag.
Text describing the contents of the tag. default text is "Data release".
default FALSE
. Set to TRUE
to create
a draft (unpublished) release.
default FALSE
. Set to TRUE
to
identify the release as a pre-release.
GitHub authentication token, see [gh::gh_token()]
if (FALSE) {
pb_new_release("cboettig/piggyback-tests", "v0.0.5")
}