delete_release: Delete a release from a repository

Description Usage Arguments Details Value Examples

View source: R/releases.R

Description

This function deletes a release from a repository, as long as you have appropriate permissions. Care should be taken as it will not be recoverable.

Usage

1
delete_release(release, repo, ...)

Arguments

release

(string) The id or tag of the release.

repo

(string) The repository specified in the format: owner/repo.

...

Parameters passed to gh_request().

Details

For more details see the GitHub API documentation:

Value

delete_release() returns a TRUE if successfully deleted.

Examples

1
2
3
4
5
6
## Not run: 

  delete_release("1.0.0", repo = "ChadGoymer/githapi")


## End(Not run)

ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.