announce

package
v0.17.8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const AnnouncementFile = "announcement.html"

AnnouncementFile is the default announcement HTML file.

Variables

This section is empty.

Functions

This section is empty.

Types

type Announce added in v0.17.0

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

func NewAnnounce added in v0.17.0

func NewAnnounce(opts *Options) *Announce

NewAnnounce returns a new Announce instance.

func (*Announce) CreateForBranch added in v0.17.0

func (a *Announce) CreateForBranch() error

func (*Announce) CreateForRelease added in v0.17.0

func (a *Announce) CreateForRelease() error

func (*Announce) SetImplementation added in v0.17.0

func (a *Announce) SetImplementation(i impl)

SetImplementation sets the implementation to handle file operations.

type Options

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

func NewOptions

func NewOptions() *Options

NewOptions can be used to create a new Options instance.

func (*Options) WithBranch

func (o *Options) WithBranch(branch string) *Options

func (*Options) WithChangelogFile added in v0.7.0

func (o *Options) WithChangelogFile(changelogFile string) *Options

func (*Options) WithChangelogHTML

func (o *Options) WithChangelogHTML(changelogHTML string) *Options

func (*Options) WithChangelogPath

func (o *Options) WithChangelogPath(changelogPath string) *Options

func (*Options) WithTag

func (o *Options) WithTag(tag string) *Options

func (*Options) WithWorkDir

func (o *Options) WithWorkDir(workDir string) *Options

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
githubfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
sbomfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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