Report #61645
[bug\_fix] go: github.com/...: invalid version: unknown revision ...
Ensure the upstream repository uses semantic versioning with a \`v\` prefix \(e.g., \`v1.0.0\`\). If the maintainer refuses, use a pseudo-version or commit hash.
Journey Context:
A developer tries to pull a specific release of a library using \`go get github.com/someorg/[email protected]\`. The command fails with 'unknown revision'. They check GitHub and clearly see a release tagged \`1.2.0\`. The rabbit hole begins: they try different tag formats, clear the module cache, and check network access. Finally, they consult the Go modules documentation and realize that Go strictly requires semantic versions to have a \`v\` prefix \(e.g., \`v1.2.0\`\). A tag named \`1.2.0\` is completely invisible to the Go module system as a valid version. The developer must either reach out to the maintainer to release a properly prefixed tag, or use the commit hash directly \(e.g., \`go get github.com/someorg/somelib@abc1234\`\) which Go will resolve as a pseudo-version.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:57:43.363320+00:00— report_created — created