diff options
| author | Sean Liao <sean@liao.dev> | 2023-12-29 19:59:47 +0000 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2024-08-28 16:49:33 +0000 |
| commit | f3d3bc619f34e716bff8c7b07a98065bd69b25c2 (patch) | |
| tree | 8ecc867d9468352479e41a25885dc2dfb27560c5 /_content/ref | |
| parent | 6f622f4350d3fe11c8623379439260f2ba400d50 (diff) | |
| download | go-x-website-f3d3bc619f34e716bff8c7b07a98065bd69b25c2.tar.xz | |
_content/ref: modules, correct statement on recording build metadata
Fixes golang/go#64652
Change-Id: Ie258e109053258e3bf214f75809ce9e26ede3636
Reviewed-on: https://go-review.googlesource.com/c/website/+/553156
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to '_content/ref')
| -rw-r--r-- | _content/ref/mod.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md index 81606a19..8ed82484 100644 --- a/_content/ref/mod.md +++ b/_content/ref/mod.md @@ -116,8 +116,8 @@ compatible with previous versions. the corresponding release versions. For example, `v1.2.3-pre` comes before `v1.2.3`. * The build metadata suffix is ignored for the purpose of comparing versions. - Tags with build metadata are ignored in version control repositories, but - build metadata is preserved in versions specified in `go.mod` files. The + The go command accepts versions with build metadata and converts them to + pseudo-versions to maintain the total ordering between versions. The special suffix `+incompatible` denotes a version released before migrating to modules version major version 2 or later (see [Compatibility with non-module repositories](#non-module-compat)). |
