diff --git a/content/docs/tutorial/working-with-a-custom-module-registry/en.md b/content/docs/tutorial/working-with-a-custom-module-registry/en.md index 489facdb0a..6f38e215e2 100644 --- a/content/docs/tutorial/working-with-a-custom-module-registry/en.md +++ b/content/docs/tutorial/working-with-a-custom-module-registry/en.md @@ -50,6 +50,13 @@ This tutorial describes an experimental feature. All details are subject to chan ([Constraints]({{< relref "/docs/tour/basics/constraints" >}}) and [Definitions]({{< relref "/docs/tour/basics/definitions" >}}) in the CUE tour) +This tutorial is written using the following version of `cmd/cue`: + +{{{with script "en" "cue version"}}} +#ellipsis 1 +cue version +{{{end}}} + ## Create the module for the schema code In this tutorial we will focus on an imaginary application called `FrostyApp`, diff --git a/content/docs/tutorial/working-with-a-custom-module-registry/gen_cache.cue b/content/docs/tutorial/working-with-a-custom-module-registry/gen_cache.cue index 6933883836..5c0649388d 100644 --- a/content/docs/tutorial/working-with-a-custom-module-registry/gen_cache.cue +++ b/content/docs/tutorial/working-with-a-custom-module-registry/gen_cache.cue @@ -15,7 +15,7 @@ package site "edit-dependency-version": "20qyCFMqHE2OqhL8ILndmu3pTkvbwoZaZgEuUzHRo0g=" } multi_step: { - "RF9RTOT7E9BUKIOV1MSPV8OJ12NNE464ANK1JVV93T24V3PSTRQ0====": [{ + "PKVFEO88AACRG7VKMSL437H9D6CKEMVDH1CD3APPHB0PDA99Q3O0====": [{ doc: """ # TODO: this is inherently racey. But not a problem in practice... # for now. When it does become a problem we can solve this properly @@ -24,6 +24,15 @@ package site cmd: "nohup cue mod registry localhost:5000 >/tmp/cue_mod_registry 2>&1 &" exitCode: 0 output: "" + }, { + doc: "#ellipsis 1" + cmd: "cue version" + exitCode: 0 + output: """ + cue version v0.8.0-0.dev.0.20240210175433-b460e71a6f24 + ... + + """ }, { doc: "" cmd: "mkdir frostyconfig" diff --git a/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md b/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md index c585a4cb17..77c6e7e0e7 100644 --- a/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md +++ b/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md @@ -43,6 +43,14 @@ This tutorial describes an experimental feature. All details are subject to chan ([Constraints]({{< relref "/docs/tour/basics/constraints" >}}) and [Definitions]({{< relref "/docs/tour/basics/definitions" >}}) in the CUE tour) +This tutorial is written using the following version of `cmd/cue`: + +```text { title="TERMINAL" codeToCopy="Y3VlIHZlcnNpb24K" } +$ cue version +cue version v0.8.0-0.dev.0.20240210175433-b460e71a6f24 +... +``` + ## Create the module for the schema code In this tutorial we will focus on an imaginary application called `FrostyApp`,