name | example | route | scope | type |
---|---|---|---|---|
Get a release by tag name |
octokit.rest.repos.getReleaseByTag({ owner, repo, tag }) |
GET /repos/{owner}/{repo}/releases/tags/{tag} |
repos |
API method |
Get a published release with the specified tag.
octokit.rest.repos.getReleaseByTag({
owner,
repo,
tag,
});
name | required | description |
---|---|---|
owner | yes |
The account owner of the repository. The name is not case sensitive. |
repo | yes |
The name of the repository without the |
tag | yes |
tag parameter |
See also: GitHub Developer Guide documentation.