Documentation
¶
Index ¶
- func BumpVersion(v string, bump BumpType) (string, error)
- func GitTag(dir, version string) error
- func IsNimbusRepo(dir string) bool
- func UpdateMainGoTemplates(dir, oldVersion, newVersion string) error
- func UpdateVersionConstant(dir, newVersion string) error
- func UpdateVersionInFile(path, oldVersion, newVersion string) error
- type BumpType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BumpVersion ¶
BumpVersion increments v according to bump type. e.g. v0.1.1 + patch -> v0.1.2
func IsNimbusRepo ¶
IsNimbusRepo returns true if dir is the Nimbus framework repo (not an app using nimbus).
func UpdateMainGoTemplates ¶
UpdateMainGoTemplates updates version in cmd/nimbus/main.go goModContent.
func UpdateVersionConstant ¶
UpdateVersionConstant updates the version constant in internal/version/version.go.
func UpdateVersionInFile ¶
UpdateVersionInFile replaces oldVersion with newVersion in file.
Types ¶
Click to show internal directories.
Click to hide internal directories.