github

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLatestReleaseForRepo

func FindLatestReleaseForRepo(org, repo string) (*semver.Version, error)

FindLatestReleaseForRepo returns the latest release tag for a Github repository given an Organization and Repository name.

NOTE: latest release in this context does not necessarily mean the newest

version: if a repo releases a patch for an older release for instance
the the returned version could be that instead.

func FindRawLatestReleaseForRepo added in v0.12.0

func FindRawLatestReleaseForRepo(org, repo string) (string, error)

FindRawLatestReleaseForRepo returns the latest release tag as a string. It should be used directly for non-semver releases. Semver releases should use FindLatestReleaseForRepo

Types

This section is empty.

Jump to

Keyboard shortcuts

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