Documentation
¶
Overview ¶
Package update replaces the running binary with the latest published release, using the same installer the website serves.
Index ¶
Constants ¶
View Source
const ScriptURL = "https://www.postline.dev/install.sh"
ScriptURL is the installer on postline.dev. The site proxies the copy in the repository, so a push to install.sh is what this command runs.
Variables ¶
This section is empty.
Functions ¶
func AlreadyCurrent ¶
AlreadyCurrent reports whether the installed binary is the published tag. A "dev" build is never current: it was produced without a release.
func ArchiveName ¶
ArchiveName is the GoReleaser artifact for a given OS, arch, and version number (no leading v).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.