commands

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitRepoInfo

type GitRepoInfo struct {
	Path      string
	LastTag   string
	HasTag    bool
	HasOrigin bool
}

func (*GitRepoInfo) CheckTagFormat

func (r *GitRepoInfo) CheckTagFormat(tag string) (err error)

func (*GitRepoInfo) CreateTag

func (r *GitRepoInfo) CreateTag(newTag string) (err error)

func (*GitRepoInfo) CurrentTag

func (r *GitRepoInfo) CurrentTag() (tag string, err error)

func (*GitRepoInfo) DeleteLastTagOnLocal

func (r *GitRepoInfo) DeleteLastTagOnLocal() (err error)

func (*GitRepoInfo) DeleteLastTagOnRemote

func (r *GitRepoInfo) DeleteLastTagOnRemote() (err error)

func (*GitRepoInfo) HasRemote

func (r *GitRepoInfo) HasRemote() (err error)

func (*GitRepoInfo) HasTags

func (r *GitRepoInfo) HasTags() (err error)

func (*GitRepoInfo) IncMajor

func (r *GitRepoInfo) IncMajor() (newTag string, err error)

func (*GitRepoInfo) IncMinor

func (r *GitRepoInfo) IncMinor() (newTag string, err error)

func (*GitRepoInfo) IncPatch

func (r *GitRepoInfo) IncPatch() (newTag string, err error)

func (*GitRepoInfo) InitRepo

func (r *GitRepoInfo) InitRepo() (err error)

func (*GitRepoInfo) IsAGitRepo

func (r *GitRepoInfo) IsAGitRepo() (err error)

func (*GitRepoInfo) Prerequisites

func (r *GitRepoInfo) Prerequisites() (err error)

func (*GitRepoInfo) PushTag

func (r *GitRepoInfo) PushTag(newTag string) (err error)

func (*GitRepoInfo) SetRepoPath

func (r *GitRepoInfo) SetRepoPath() (err error)

Jump to

Keyboard shortcuts

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