ci

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ci provides function to generate output for CI/CD tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateGitHubOutput

func GenerateGitHubOutput(semver *semver.Semver, branch string, options ...OptionFunc) (err error)

Types

type GitHubOutput

type GitHubOutput struct {
	Semver     *semver.Semver
	Branch     string
	TagPrefix  string
	NewRelease bool
}

func (GitHubOutput) String

func (g GitHubOutput) String() string

type OptionFunc

type OptionFunc func(*GitHubOutput)

func WithNewRelease

func WithNewRelease(b bool) OptionFunc

func WithTagPrefix

func WithTagPrefix(tagPrefix string) OptionFunc

Jump to

Keyboard shortcuts

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