release

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitService

type MockGitService struct {
	mock.Mock
}

func (*MockGitService) AddFileToStaging

func (m *MockGitService) AddFileToStaging(ctx context.Context, file string) error

func (*MockGitService) CreateCommit

func (m *MockGitService) CreateCommit(ctx context.Context, message string) error

func (*MockGitService) CreateTag

func (m *MockGitService) CreateTag(ctx context.Context, version, message string) error

func (*MockGitService) GetChangedFiles

func (m *MockGitService) GetChangedFiles(ctx context.Context) ([]models.GitChange, error)

func (*MockGitService) GetCommitCount

func (m *MockGitService) GetCommitCount(ctx context.Context) (int, error)

func (*MockGitService) GetCommitsSinceTag

func (m *MockGitService) GetCommitsSinceTag(ctx context.Context, tag string) ([]models.Commit, error)

func (*MockGitService) GetCurrentBranch

func (m *MockGitService) GetCurrentBranch(ctx context.Context) (string, error)

func (*MockGitService) GetDiff

func (m *MockGitService) GetDiff(ctx context.Context) (string, error)

func (*MockGitService) GetLastTag

func (m *MockGitService) GetLastTag(ctx context.Context) (string, error)

func (*MockGitService) GetRepoInfo

func (m *MockGitService) GetRepoInfo(ctx context.Context) (string, string, string, error)

func (*MockGitService) HasStagedChanges

func (m *MockGitService) HasStagedChanges(ctx context.Context) bool

func (*MockGitService) PushTag

func (m *MockGitService) PushTag(ctx context.Context, version string) error

type MockReleaseService

type MockReleaseService struct {
	mock.Mock
}

func (*MockReleaseService) AnalyzeNextRelease

func (m *MockReleaseService) AnalyzeNextRelease(ctx context.Context) (*models.Release, error)

func (*MockReleaseService) CreateTag

func (m *MockReleaseService) CreateTag(ctx context.Context, version, message string) error

func (*MockReleaseService) GenerateReleaseNotes

func (m *MockReleaseService) GenerateReleaseNotes(ctx context.Context, release *models.Release) (*models.ReleaseNotes, error)

func (*MockReleaseService) PublishRelease

func (m *MockReleaseService) PublishRelease(ctx context.Context, release *models.Release, notes *models.ReleaseNotes, draft bool) error

func (*MockReleaseService) PushTag

func (m *MockReleaseService) PushTag(ctx context.Context, version string) error

type ReleaseCommandFactory

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

func NewReleaseCommandFactory

func NewReleaseCommandFactory(gitService ports.GitService, config *cfg.Config) *ReleaseCommandFactory

func (*ReleaseCommandFactory) CreateCommand

func (r *ReleaseCommandFactory) CreateCommand(t *i18n.Translations, _ *cfg.Config) *cli.Command

Jump to

Keyboard shortcuts

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