github

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRelease

func GetRelease(repoOwnerAndName, desiredVersion, assetSearchSubstring string) (string, error)

GetRelease will find the releases for Github repo "https://github.com/{repoOwnerAndName}". It will then try to match the Git tag with desiredVersion. With a particular release selected, it will then loop through the assets attached to the release and find the first one matching assetSearchSubstring using strings.Contains. This function ignores drafts and prereleases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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