Documentation ¶
Index ¶
- func TagNameFromProjectAndVersion(p *Project, v *semver.Version) string
- type AuthMethod
- type BasicAuth
- type Change
- type Increment
- type Project
- func (p *Project) Bump(versionFilenamesAndKeys []string, auth AuthMethod, vPrefix, skipTag bool) error
- func (p Project) Dir() string
- func (p Project) IsSubProject() bool
- func (p Project) LatestVersion() (*semver.Version, error)
- func (p Project) NextVersion(vPrefix bool) (*semver.Version, error)
- func (p *Project) NextVersionIncrement() (Increment, error)
- func (p Project) Repo() *git.Repository
- func (p Project) Tags() ([]string, error)
- func (p Project) Versions() ([]*semver.Version, error)
- type VersionFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthMethod ¶
type AuthMethod = git.AuthMethod
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
func (*Project) Bump ¶
func (p *Project) Bump(versionFilenamesAndKeys []string, auth AuthMethod, vPrefix, skipTag bool) error
func (Project) IsSubProject ¶
func (*Project) NextVersionIncrement ¶
func (Project) Repo ¶
func (p Project) Repo() *git.Repository
type VersionFile ¶
func NewVersionFile ¶
func NewVersionFile(cwd string, filenameAndKey string) (*VersionFile, error)
func (VersionFile) UpdateVersion ¶
Click to show internal directories.
Click to hide internal directories.