zed_extension_api: Add github_release_by_tag_name
(#12172)
This PR adds a new `github_release_by_tag_name` method to the `zed_extension_api` to allow for retrieving a GitHub release by its tag name. Release Notes: - N/A
This commit is contained in:
parent
85ff80f3c0
commit
054c36cc29
4 changed files with 82 additions and 12 deletions
|
@ -25,4 +25,9 @@ interface github {
|
|||
|
||||
/// Returns the latest release for the given GitHub repository.
|
||||
latest-github-release: func(repo: string, options: github-release-options) -> result<github-release, string>;
|
||||
|
||||
/// Returns the GitHub release with the specified tag name for the given GitHub repository.
|
||||
///
|
||||
/// Returns an error if a release with the given tag name does not exist.
|
||||
github-release-by-tag-name: func(repo: string, tag: string) -> result<github-release, string>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue