semanticrelease

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SemanticRelease

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

SemanticRelease struct

func New

func New(c *config.ReleaseConfig, repository string, checkConfig bool) (*SemanticRelease, error)

New SemanticRelease struct

func (*SemanticRelease) GetCIProvider

func (s *SemanticRelease) GetCIProvider() (*ci.ProviderConfig, error)

GetCIProvider result with ci config

func (*SemanticRelease) GetChangelog

func (s *SemanticRelease) GetChangelog(releaseVersion *shared.ReleaseVersion) (*shared.GeneratedChangelog, error)

GetChangelog from last version till now

func (*SemanticRelease) GetNextVersion

func (s *SemanticRelease) GetNextVersion(provider *ci.ProviderConfig, force bool) (*shared.ReleaseVersion, error)

GetNextVersion from .version or calculate new from commits

func (*SemanticRelease) Release

func (s *SemanticRelease) Release(provider *ci.ProviderConfig, force bool) error

Release publish release to provider

func (*SemanticRelease) SetVersion

func (s *SemanticRelease) SetVersion(provider *ci.ProviderConfig, version string) error

SetVersion for git repository

func (*SemanticRelease) WriteChangeLog

func (s *SemanticRelease) WriteChangeLog(changelogContent, file string) error

WriteChangeLog writes changelog content to the given file

func (*SemanticRelease) ZipFiles

func (s *SemanticRelease) ZipFiles() error

ZipFiles zip files configured in release config

Jump to

Keyboard shortcuts

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