Delete an asset attached to a release
Usage
pb_delete(
file = NULL,
repo = guess_repo(),
tag = "latest",
.token = gh::gh_token()
)
Arguments
- file
file(s) to be deleted from the release. If
NULL
(default when argument is omitted), function will delete all attachments to the release. delete- repo
string: GH repository name in format "owner/repo". Default
guess_repo()
tries to guess based on current working directory's git repository- tag
string: tag for the GH release, defaults to "latest"
- .token
GitHub authentication token, see
gh::gh_token()