Interface GitHubRelease

Represents a GitHub release.

interface GitHubRelease {
    assets: GitHubReleaseAsset[];
    author: GitHubUser;
    body: null | string;
    created_at: string;
    draft: boolean;
    html_url: string;
    id: number;
    name: null | string;
    prerelease: boolean;
    published_at: null | string;
    tag_name: string;
    tarball_url: string;
    zipball_url: string;
}

Properties

Files attached to this release

author: GitHubUser

User who created the release

body: null | string

Release description / changelog

created_at: string

ISO 8601 timestamp of creation

draft: boolean

Whether this is a draft release

html_url: string

URL to the release on GitHub

id: number

Unique numeric release ID

name: null | string

Release title

prerelease: boolean

Whether this is a pre-release

published_at: null | string

ISO 8601 timestamp of publishing (null for drafts)

tag_name: string

The tag this release is associated with (e.g., 'v1.0.0')

tarball_url: string

URL to download the source as a tar archive

zipball_url: string

URL to download the source as a zip archive