release

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BumpVersion

func BumpVersion(v string, bump BumpType) (string, error)

BumpVersion increments v according to bump type. e.g. v0.1.1 + patch -> v0.1.2

func GitTag

func GitTag(dir, version string) error

GitTag creates a git tag for the version.

func IsNimbusRepo

func IsNimbusRepo(dir string) bool

IsNimbusRepo returns true if dir is the Nimbus framework repo (not an app using nimbus).

func UpdateMainGoTemplates

func UpdateMainGoTemplates(dir, oldVersion, newVersion string) error

UpdateMainGoTemplates updates version in cmd/nimbus/main.go goModContent.

func UpdateVersionConstant

func UpdateVersionConstant(dir, newVersion string) error

UpdateVersionConstant updates the version constant in internal/version/version.go.

func UpdateVersionInFile

func UpdateVersionInFile(path, oldVersion, newVersion string) error

UpdateVersionInFile replaces oldVersion with newVersion in file.

Types

type BumpType

type BumpType string

BumpType is patch, minor, or major.

const (
	BumpPatch BumpType = "patch"
	BumpMinor BumpType = "minor"
	BumpMajor BumpType = "major"
)

Jump to

Keyboard shortcuts

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