Skip to content

Commit 7a2e651

Browse files
diagnostics
1 parent c0df50d commit 7a2e651

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/update-snapshot

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
# An antora build with the lib/markdown-for-llms.js extension
46
# will output a directory of Markdown files, with YAML front-matter
57
# including pubDate.
@@ -14,6 +16,9 @@
1416

1517
cd public
1618

19+
pwd
20+
git remote -v
21+
1722
# all markdown files
1823
find . -name *.md \
1924
| sed 's|^\./||' \
@@ -65,6 +70,12 @@ git status --porcelain=v1 \
6570
git add --pathspec-from-file=md-changed
6671
git add --pathspec-from-file=md-added
6772

73+
# also add individual files
74+
git add \
75+
llms.txt \
76+
site-manifest.json \
77+
_/js/site-navigation-data
78+
6879
# B. in (md-output) but NOT (md-changed) -> CHECKOUT (revert)
6980
comm -23 md-output md-changed > md-checkout
7081
git checkout --pathspec-from-file=md-checkout

0 commit comments

Comments
 (0)