Report the module version when no release build set one #4
Loading…
Reference in a new issue
No description provided.
Delete branch "buildinfo-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A build made with
go installorgo toolgets no-X main.version, so-versionprinted0.0.0while the binary's build info held the module version.The leading
vis dropped: release builds print0.2.1, and one release should print one string however it was built. A pseudo-version and(devel)are printed as Go records them, with no return to0.0.0.