Trim the prose to what is true now

This commit is contained in:
2026-08-22 11:24:16 +02:00
parent a3d9a3df5f
commit bfcf4ed072
7 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -17,6 +17,6 @@ test("the real template renders clean and pins no literal image tag", () => {
const rendered = renderOverview(readFileSync("release-tooling/dockerhub-overview.md.tmpl", "utf8"), "9.9.9");
assert.deepEqual(leftoverPlaceholders(rendered), []);
assert.match(rendered, /larvit\/plainpages:9\.9\.9/); // the placeholder actually reaches the examples
// A hardcoded version here is what went stale on the live page; the release must own every one.
// The release owns every image tag on the page, so a literal one must not survive rendering.
assert.doesNotMatch(rendered, /larvit\/plainpages:\d+\.\d+\.\d+(?<!9\.9\.9)/);
});
+2 -2
View File
@@ -1,6 +1,6 @@
// Publishes the Docker Hub repository overview from dockerhub-overview.md.tmpl. The page is the
// first thing an adopter copies, and its image tags were maintained by hand — they pointed at a
// version that no longer existed. `{{VERSION}}` is rendered from the release, so they cannot.
// first thing an adopter copies, so `{{VERSION}}` is rendered from the release being published
// rather than written by hand.
const HUB = "https://hub.docker.com/v2";