package version

import "github.com/oslokommune/okctl/pkg/version"

Package version knows how to serialise a release

Index

Constants

const DevVersion = "dev"

DevVersion is the developer version

Variables

var BuildDate = "unknown"

BuildDate of the release nolint: gochecknoglobals

var ShortCommit = "unknown"

ShortCommit hash nolint: gochecknoglobals

var Version = DevVersion

Version of okctl nolint: gochecknoglobals

Functions

func GetVersionInfo

func GetVersionInfo() types.Info

GetVersionInfo returns the current version

func String

func String() string

String returns the current version as JSON

Source Files

api.go doc.go release.go

Directories

PathSynopsis
pkg/version/developmentversionPackage developmentversion knows how to fetch the current version in development mode
pkg/version/typesPackage types contains types used by versioning.
Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
18 hours ago

Tools for package owners.