Skip to content

Commit

Permalink
_content/doc: add release notes for version stamping go builds
Browse files Browse the repository at this point in the history
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 <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
  • Loading branch information
samthanawalla authored and gopherbot committed Dec 6, 2024
1 parent 6046253 commit a379667
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _content/doc/go1.24.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ a test integration system, you can revert to the text build output by setting
The new 'GOAUTH' environment variable provides a flexible way to authenticate
with private modules. See `go help goauth` for more information.

<!-- go.dev/issue/50603 -->

The `go build` command now includes versioning information in the compiled binary.
If a local VCS tag is available, the main module's version will be set from that tag.
If no local VCS tag is available, a pseudo-version will be generated.
A +dirty suffix will be appended if there are uncommitted VCS changes present.
Use the `-buildvcs=false` flag to omit version control information from the binary.

### Cgo {#cgo}

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

0 comments on commit a379667

Please sign in to comment.