Skip to content

Commit d0a7a3d

Browse files
committed
no-mistakes(document): docs: align detector check count with generatedBy check
1 parent 8919e76 commit d0a7a3d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tools/prerelease/detect-prerelease-pins.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
# groupId and the version live on different lines (or behind a property), so a
3434
# same-line match cannot see it. The project's OWN 1.0.0-SNAPSHOT version is normal
3535
# and is deliberately not flagged.
36+
# 6. A pre-release `generatedBy` in .metaobjects/.agent-context.json, a committed file
37+
# that `meta init` stamps with the running CLI's version.
3638
#
3739
# Pure text scan: no network, no package manager, no toolchain.
3840
set -uo pipefail
@@ -50,7 +52,7 @@ NS_RE='@metaobjectsdev/|com\.metaobjects|(^|[^A-Za-z])MetaObjects(\.|"|<|$)|(^|[
5052
# Without it, check 1 cannot run. It is announced rather than skipped in silence — a
5153
# guard that says nothing when it does not run is indistinguishable from one that ran and
5254
# found nothing, which is the failure mode this whole script exists to prevent. The other
53-
# four checks are host-independent and still run; check 3 in particular catches a
55+
# five checks are host-independent and still run; check 3 in particular catches a
5456
# pre-release PIN regardless of where it came from.
5557
CFG="$(cd "$(dirname "$0")" && pwd)/registry.env"
5658
# shellcheck source=/dev/null

0 commit comments

Comments
 (0)