delete_tag: Delete a tag from a repository

Description Usage Arguments Details Value Examples

View source: R/tags.R

Description

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

Usage

1
delete_tag(tag, repo, ...)

Arguments

tag

(string) The name of the tag.

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_tag() returns a TRUE if successfully deleted.

Examples

1
2
3
4
5
6
## Not run: 

  delete_tag("new-tag", repo = "ChadGoymer/githapi")


## End(Not run)

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