-
Notifications
You must be signed in to change notification settings - Fork 0
Release and Upgrade
This page explains how GCORM CLI versions are built, checked, and upgraded.
gco versionThe command prints the local CLI version. It does not upgrade the binary.
gco upgradegco upgrade checks the latest available release and upgrades the CLI only when
the current binary was installed with:
go install github.com/arsfy/gcorm/cmd/gco@versionThe upgrade path uses the concrete latest GitHub release tag:
go install github.com/arsfy/gcorm/cmd/gco@va.b.cIf you installed gco from a release archive, update manually:
- Download the new archive from GitHub Releases.
- Replace the old
gcobinary. - Run
gco version.
Manual binaries are not replaced by gco upgrade.
For local development:
go build ./cmd/gcoRelease builds can inject a version with linker flags:
go build -ldflags "-X main.Version=v0.1.0" ./cmd/gcoWhen installed through go install, Go build metadata can also provide module
version information.
GCORM does not need to check for updates on every normal command. The intended update workflow is explicit:
gco upgradeThis keeps normal CLI commands predictable and avoids unexpected network checks during validation, generation, or database workflows.