release

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateService

type GenerateService interface {
	// Call and execute the process
	Call(
		ctx context.Context,
		cfg config.Config,
		textTemplateValues *data.TextTemplateValues,
		customFlags map[string]string,
		firstTag string,
		gitRemote string,
		tag string,
		target string,
	) (*release.Release, error)
}

GenerateService is the service interface to generate releases

func NewGenerateService

func NewGenerateService(git gitPkg.Git) GenerateService

type PublishService

type PublishService interface {
	// Call and execute the process
	Call(
		ctx context.Context,
		cfg config.Config,
		releaseObj *release.Release,
		upstreamName string,
		apiToken string,
		autoYes bool,
	) (*release.UpstreamResult, error)
}

PublishService is the service interface to publish a release to a specified upstream

func NewPublishService

func NewPublishService() PublishService

Jump to

Keyboard shortcuts

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