Skip to content

Variable: GithubReleaseInstallDescriptorSchema

Makaio Framework


Makaio Framework / contracts/client / GithubReleaseInstallDescriptorSchema

Variable: GithubReleaseInstallDescriptorSchema

Section titled “Variable: GithubReleaseInstallDescriptorSchema”

const GithubReleaseInstallDescriptorSchema: ZodObject<{ archiveFormat: ZodEnum<{ tar.gz: "tar.gz"; zip: "zip"; }>; assetPattern: ZodRecord<ZodString, ZodString>; repo: ZodString; type: ZodLiteral<"github-release">; }, $strip>

Defined in: ../../../packages/contracts/src/client/definition.ts:237

Install descriptor for the github-release strategy.

The manager queries the GitHub Releases API for the specified repository, selects a platform-appropriate asset using assetPattern, downloads and extracts it.