Skip to content

docs: bump download-libs usage examples to v0.8.0 - #17

Merged
chinaux merged 1 commit into
mainfrom
docs/download-libs-version
Oct 21, 2026
Merged

chinaux merged 1 commit into
mainfrom
docs/download-libs-version

Conversation

@chinaux

@chinaux chinaux commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

What

Follow-up to f7deecd (docs: point self-version references at v0.8.0), which covered README.md, README_CN.md and release.yml but missed cmd/download-libs/main.go.

Four stale v0.6.0 strings, all self-version references (the current release is v0.8.0):

Line Where User-visible?
main.go:6 package usage comment godoc
main.go:64 -version flag help yes — download-libs -h
main.go:82 fallback hint when the GitHub Releases API cannot be reached yes — printed on e.g. API rate-limit 403
main.go:200 fetchLatestReleaseTag doc comment godoc

main.go:82 is the one that actually matters: on an unauthenticated rate-limited runner the tool prints

Cannot determine latest release: HTTP 403 ...
Usage: go run ./cmd/download-libs -version v0.6.0

which points users at a two-release-old tag. Reproduced locally while verifying the published v0.8.0 assets.

Docs/strings only — no behaviour change, -version still defaults to the latest release.

Verification

  • gofmt -l cmd/download-libs/main.go clean
  • go build ./cmd/download-libs + go vet ./cmd/download-libs pass
  • go run ./cmd/download-libs -h now shows (e.g. v0.8.0)

Note: the other v0.6.0 / v0.7.0 hits in the tree are legitimate and left alone — // Available since zvec v0.7.0 API annotations, and the scripts/sync-zvec.sh <tag> examples in CONTRIBUTING.md / README*.md, which refer to upstream zvec tags rather than this SDK's own version.

The self-version bump in f7deecd covered README.md, README_CN.md and
release.yml, but missed the four "v0.6.0" strings in cmd/download-libs:
the package usage comment, the -version flag help, the fallback hint
printed when the GitHub Releases API cannot be reached, and the
fetchLatestReleaseTag doc comment.

The fallback hint is user-visible, so pointing it at a two-release-old
tag is misleading; align all four with the current v0.8.0 release.
@chinaux
chinaux merged commit 6ecb811 into main Oct 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant