File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ private module fetches. See `go help goauth` for more information.
71
71
72
72
<!-- go.dev/issue/50603 -->
73
73
74
- The ` go build ` command now includes versioning information in the compiled binary.
75
- If a local VCS tag is available, the main module's version will be set from that tag.
76
- If no local VCS tag is available, a pseudo-version will be generated .
77
- A +dirty suffix will be appended if there are uncommitted VCS changes present .
74
+ The ` go build ` command now sets the
75
+ [ main module's version] ( /pkg/runtime/debug#BuildInfo.Main ) in the compiled
76
+ binary based on the version control system tag and/or commit .
77
+ A ` +dirty ` suffix will be appended if there are uncommitted changes.
78
78
Use the ` -buildvcs=false ` flag to omit version control information from the binary.
79
79
80
80
<!-- go.dev/issue/63939 -->
You can’t perform that action at this time.
0 commit comments