github

package
v0.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateArtifactURL

func GenerateArtifactURL(project, version, fileName string) string

GenerateArtifactURL wraps a `fmt.Sprintf` to template

func GetArtifactInfo

func GetArtifactInfo(platform, architecture, release string, service *types.Service) *types.ArtifactInfo

GetArtifactInfo generates a structure of all necessary information from using the Github API

func GetArtifactVersion

func GetArtifactVersion(release, project string) (string, string)

GetArtifactVersion fetches correct version for artifact from github.

func GetCommitSHA

func GetCommitSHA(project, tag string) *types.GitRefInfo

GetCommitSHA uses github api to find SHA for the tagged release

func GetLatestRelease

func GetLatestRelease(project string) (*types.TagInformation, error)

GetLatestRelease uses github API to identify information about latest tag for a project.

Types

This section is empty.

Jump to

Keyboard shortcuts

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