utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ReleaseBranchPrefix = "release/"

ReleaseBranchPrefix is what every branch cut by the release flow starts with. It is also how an open release pull request is recognised later.

Variables

This section is empty.

Functions

func BumpMinor

func BumpMinor(tag string) string

BumpMinor takes a tag string (e.g. "v1.21.0" or "1.21.0"), bumps the minor version, and returns the default version bump without 'v' prefix.

func GenerateBranchAndTag

func GenerateBranchAndTag(version string) (string, string)

GenerateBranchAndTag generates branch name and tag name from a given version (e.g., "1.22.0" or "v1.22.0")

Types

This section is empty.

Jump to

Keyboard shortcuts

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