tag

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTaggable

func IsTaggable(ref, defaultBranch string) bool

IsTaggable checks whether tags should be created for the specified ref. The function returns true if the ref either matches the default branch or is a tag ref.

func SemverTagSuffix

func SemverTagSuffix(ref, suffix string, strict bool) ([]string, error)

SemverTagSuffix returns a set of default suggested tags based on the commit ref with an attached suffix.

func SemverTags

func SemverTags(ref string, strict bool) ([]string, error)

SemverTags returns a set of default suggested tags based on the commit ref.

Types

This section is empty.

Jump to

Keyboard shortcuts

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