config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = ""
	Date    = ""
)

Build info set at build time via ldflags Example: go build -ldflags "-X github.com/porteden/cli/internal/config.Version=1.2.0"

Functions

func FullVersion

func FullVersion() string

FullVersion returns version string with commit and date if available

func SemverVersion added in v0.5.0

func SemverVersion() string

SemverVersion returns Version without a leading "v". goreleaser injects the v-prefixed git tag (e.g. "v0.2.0") while the GitHub release lookup reports the stripped form ("0.2.0"); comparing the two raw strings would never match, so the update banner and `porteden update`'s up-to-date check both use this.

Types

This section is empty.

Jump to

Keyboard shortcuts

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