Name the module version when no release build set one #9

Merged
mikluko merged 1 commit from buildinfo-version into main 2026-11-13 22:34:21 +00:00
Owner

A build made with go install or go tool gets no -X main.version, so the server named 0.0.0 in serverInfo while the binary's build info held the module version.

The leading v is dropped: every release path links 0.15.1, and one release should name one string however it was built. A pseudo-version and (devel) are named as Go records them, with no return to 0.0.0.

A build made with `go install` or `go tool` gets no `-X main.version`, so the server named `0.0.0` in `serverInfo` while the binary's build info held the module version. The leading `v` is dropped: every release path links `0.15.1`, and one release should name one string however it was built. A pseudo-version and `(devel)` are named as Go records them, with no return to `0.0.0`.
Name the module version when no release build set one
All checks were successful
CI / chart (pull_request) Successful in 5s
CI / changelog (pull_request) Successful in 3s
CI / test (pull_request) Successful in 45s
bb621afbbc
A build made with `go install` or `go tool` gets no `-X main.version`, so
the server named 0.0.0 in serverInfo while the binary's build info held
the module version.

The leading "v" is dropped: every release path links 0.15.1, and one
release should name one string however it was built. A pseudo-version and
"(devel)" are named as Go records them, with no return to 0.0.0.

Assisted-By: Claude <noreply@anthropic.com>
mikluko deleted branch buildinfo-version 2026-11-13 22:34:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/jmap-mcp!9
No description provided.