service

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package service provides the core functionality of the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Engine                engine.Interface
	ReleaseNotesBuilder   *notes.Builder
	Notifier              notify.Destination
	SquashCommitMessageRx *regexp.Regexp
}

Service wraps repository storage and services

func (*Service) ReleaseBetween

func (s *Service) ReleaseBetween(ctx context.Context, from, to string) error

ReleaseBetween makes a release between two commit SHAs.

func (*Service) ReleaseTag

func (s *Service) ReleaseTag(ctx context.Context, tagName string) error

ReleaseTag aggregates the changelog from the changes of the latest tag and its predecessor and notifies consumers via provided notifier.

Directories

Path Synopsis
Package notes wraps engine interfaces with common logic unrelated to any particular engine implementation.
Package notes wraps engine interfaces with common logic unrelated to any particular engine implementation.

Jump to

Keyboard shortcuts

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