ci

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 5 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.Version, branch string, options ...OptionFunc) (err error)

Types

type GitHubOutput

type GitHubOutput struct {
	Semver      *semver.Version
	Branch      string
	TagPrefix   string
	ProjectName 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 WithProject

func WithProject(project string) 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