Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 950 Bytes

getReleaseByTag.md

File metadata and controls

50 lines (38 loc) · 950 Bytes
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 release by tag name

Get a published release with the specified tag.

octokit.rest.repos.getReleaseByTag({
  owner,
  repo,
  tag,
});

Parameters

name required description
owneryes

The account owner of the repository. The name is not case sensitive.

repoyes

The name of the repository without the .git extension. The name is not case sensitive.

tagyes

tag parameter

See also: GitHub Developer Guide documentation.