| What | Where |
|---|---|
| Binary / module | godo.Version (ldflags -X github.com/my-rv/godo.Version=…), read through godo.Release() |
| Catalog file | version: inside godo.yaml |
| Git tag | vX.Y.Z |
See dev/versioning.md.
./scripts/release-local.shOutput: dist/godo_<ver>_<os>_<arch> + SHA256SUMS.
./godo cigreen onmain(bootstrap:go build -o godo ./cmd/godo)- Tag
vX.Y.Zand push the tag - Workflow release runs GoReleaser → archives and bare binaries + checksums
- Users: download,
go install …@vX.Y.Z, orgodo -e update
Tag vX.Y.Z-preview.N. The suffix is the whole mechanism:
- GoReleaser marks the GitHub release pre-release (
release.prerelease: auto) - the Homebrew cask and the Scoop manifest are not updated —
skip_uploadis false only for a tag with no pre-release part godo -e updatereads/releases/latest, which GitHub answers with the newest release, so a preview is never offered to anyone
So a preview reaches only the people who go and get it, which is the point of one. Everything else is the same as above.
Optional packaging homes (family): MY-RV/homebrew-tap, MY-RV/scoop-bucket — distribution.md.