git

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BumpPatchVersion

func BumpPatchVersion(tag string) (string, error)

BumpPatchVersion increments the patch version of a semver tag

func CommitAndRelease

func CommitAndRelease(ctx context.Context, changelogEntry string) error

CommitAndRelease performs the full git workflow: 1. git add -A 2. Read CHANGELOG.md and add entry 3. Bump version (patch) 4. git commit 5. git tag 6. git push + push tag

func GetNextVersion added in v0.2.0

func GetNextVersion(ctx context.Context) (string, error)

GetNextVersion determines the next version by bumping the patch version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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