release

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package release provides GitHub release operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestRelease

func GetLatestRelease(ctx context.Context, gh *github.Client, owner, repo string) (*github.RepositoryRelease, error)

GetLatestRelease retrieves the latest published release.

func GetRelease

func GetRelease(ctx context.Context, gh *github.Client, owner, repo string, id int64) (*github.RepositoryRelease, error)

GetRelease retrieves a specific release by ID.

func GetReleaseByTag

func GetReleaseByTag(ctx context.Context, gh *github.Client, owner, repo, tag string) (*github.RepositoryRelease, error)

GetReleaseByTag retrieves a release by its tag name.

func ListReleaseAssets

func ListReleaseAssets(ctx context.Context, gh *github.Client, owner, repo string, releaseID int64) ([]*github.ReleaseAsset, error)

ListReleaseAssets lists assets for a release.

func ListReleases

func ListReleases(ctx context.Context, gh *github.Client, owner, repo string) ([]*github.RepositoryRelease, error)

ListReleases lists all releases for a repository with pagination.

func ListReleasesSince

func ListReleasesSince(ctx context.Context, gh *github.Client, owner, repo string, sinceID int64) ([]*github.RepositoryRelease, error)

ListReleasesSince lists releases published after a specific release ID. Useful for incremental syncs.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL