aboutsummaryrefslogtreecommitdiff
path: root/_content
diff options
context:
space:
mode:
authorSam Thanawalla <samthanawalla@google.com>2025-04-08 17:08:29 +0000
committerSam Thanawalla <samthanawalla@google.com>2025-04-08 12:53:00 -0700
commitf9b5fd5d09bfb8f920c6bfd68a943dfb3d4ee97f (patch)
treef6aa6c3ec67dc009e2c1a7125d8f60db39ed4070 /_content
parentc0b7403a1d23214ed706d39116240aa156b1c17b (diff)
downloadgo-x-website-f9b5fd5d09bfb8f920c6bfd68a943dfb3d4ee97f.tar.xz
_content/ref: document +dirty
Fixes: golang/go#71970 Change-Id: I68bc645eb9077b0acedd1b80c61c06125b540394 Reviewed-on: https://go-review.googlesource.com/c/website/+/663855 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dimitri John Ledkov <dimitri.ledkov@surgut.co.uk> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to '_content')
-rw-r--r--_content/ref/mod.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md
index 9fe06a4a..dac8cc75 100644
--- a/_content/ref/mod.md
+++ b/_content/ref/mod.md
@@ -117,10 +117,14 @@ compatible with previous versions.
`v1.2.3`.
* The build metadata suffix is ignored for the purpose of comparing versions.
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)).
+ 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)).
+ * The special suffix `+dirty` is appended to the version information of a
+ binary when it's built with a Go toolchain 1.24 or later within a valid
+ local Version Control System (VCS) repository that contains uncommitted
+ changes in the working directory.
A version is considered unstable if its major version is 0 or it has a
pre-release suffix. Unstable versions are not subject to compatibility