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:
Marshall Bowers 2024-05-22 20:40:31 -04:00 committed by GitHub
parent 85ff80f3c0
commit 054c36cc29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 82 additions and 12 deletions

View file

@ -16,7 +16,8 @@ pub use serde_json;
pub use wit::{
download_file, make_file_executable,
zed::extension::github::{
latest_github_release, GithubRelease, GithubReleaseAsset, GithubReleaseOptions,
github_release_by_tag_name, latest_github_release, GithubRelease, GithubReleaseAsset,
GithubReleaseOptions,
},
zed::extension::nodejs::{
node_binary_path, npm_install_package, npm_package_installed_version,