revision

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommitHash

func GetCommitHash(dir string, ref string) (string, error)

func GetVersionFiles

func GetVersionFiles(rootDir string) []string

func IncrementNumber added in v1.0.1

func IncrementNumber(s string) (string, error)

func PatchVersionFile

func PatchVersionFile(file string, rev string, incrementNumber bool) error

func ReplaceRevision

func ReplaceRevision(s string, revision string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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