Help us shape the future of Go! Take the 2026 Go Developer Survey

releaseversion

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(root string, expectedTag string) error

func FindRepoRoot

func FindRepoRoot(start string) (string, error)

func ReadVersion

func ReadVersion(root string) (string, error)

func Set

func Set(root string, version string) error

func Sync

func Sync(root string) error

func Validate

func Validate(version string) error

Types

type UpdateBaseline added in v0.3.2

type UpdateBaseline struct {
	Version        string
	ArtifactURL    string
	ArtifactSHA256 string
}

UpdateBaseline is the update baseline pin: the first extension version that has an update path and its published extension artifact.

func ReadUpdateBaseline added in v0.3.2

func ReadUpdateBaseline(root string) (UpdateBaseline, error)

ReadUpdateBaseline reads the update baseline pin. The pin is one JSON object with exactly the keys version, artifact_url, and artifact_sha256.

Jump to

Keyboard shortcuts

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