git

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GITONLY = "git"

GITONLY identifer for git interface

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client type struct

func New

func New(config *config.GitProvider, git *gitutil.GitUtil, checkConfig bool) (*Client, error)

New initialize a new gitRelease

func (*Client) CreateRelease

func (g *Client) CreateRelease(releaseVersion *shared.ReleaseVersion, generatedChangelog *shared.GeneratedChangelog, _ *assets.Set) error

CreateRelease creates release on remote

func (*Client) GetCommitURL

func (g *Client) GetCommitURL() string

GetCommitURL for git

func (*Client) GetCompareURL

func (g *Client) GetCompareURL(oldVersion, newVersion string) string

GetCompareURL for git

func (*Client) UploadAssets

func (g *Client) UploadAssets(repoDir string, assets []config.Asset) error

UploadAssets uploads specified assets

Jump to

Keyboard shortcuts

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