Skip to content

Commit a379667

Browse files
samthanawallagopherbot
authored andcommitted
_content/doc: add release notes for version stamping go builds
Fixes: golang/go#50603 For: golang/go#68545 Change-Id: Id4dd8a41549763297064317db8847db73b8bff8f Reviewed-on: https://go-review.googlesource.com/c/website/+/633856 Reviewed-by: Michael Matloob <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Sam Thanawalla <[email protected]>
1 parent 6046253 commit a379667

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_content/doc/go1.24.md

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ a test integration system, you can revert to the text build output by setting
6969
The new 'GOAUTH' environment variable provides a flexible way to authenticate
7070
with private modules. See `go help goauth` for more information.
7171

72+
<!-- go.dev/issue/50603 -->
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.
78+
Use the `-buildvcs=false` flag to omit version control information from the binary.
79+
7280
### Cgo {#cgo}
7381

7482
<!-- go.dev/issue/56378, CL 579955 -->

0 commit comments

Comments
 (0)