Documentation
¶
Overview ¶
Package release resolves the newest published Miabi platform version.
The CLI releases on its own cadence — a CLI cut months ago still has to install today's Miabi — so the platform version cannot be baked into the binary. It is looked up when needed, and an operator can always state it outright with --version or --image instead.
Index ¶
Constants ¶
const ( // APIEnv points the lookup at a mirror — an internal proxy on a host with no route to GitHub. // It must serve GitHub's releases JSON shape. APIEnv = "MIABI_RELEASE_API" )
Variables ¶
This section is empty.
Functions ¶
func Latest ¶
Latest returns the newest published platform version WITHOUT a leading "v" — "1.8.0", matching the Docker tag rather than the Git tag. Drafts and prereleases are skipped: an unattended `miabi upgrade` must not walk onto a release candidate.
userAgent identifies the caller honestly. The request says nothing else about the install: no id, no host, no license.
Types ¶
This section is empty.