From c9f6d08be17247ced5d74da0d83db4197f55b1fd Mon Sep 17 00:00:00 2001 From: ZDDC Date: Mon, 4 May 2026 07:45:26 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20untrack=20mdedit/dist/mdedit.html=20?= =?UTF-8?q?=E2=80=94=20every=20other=20dist/=20is=20gitignored?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mdedit was the only tool whose dist/.html was force-tracked (via `git add -f` in the build's stable-cut path). Inconsistent with every other tool in the repo, where dist/ is fully gitignored. The build regenerates mdedit/dist/mdedit.html the same way it regenerates the others, so there's no reason to track it. Drop the `git add -f` line in build:735 and `git rm --cached` the file. The on-disk artifact stays put for the dev iteration loop; only the index entry goes away. --- build | 11 +- mdedit/dist/mdedit.html | 6236 --------------------------------------- 2 files changed, 5 insertions(+), 6242 deletions(-) delete mode 100644 mdedit/dist/mdedit.html diff --git a/build b/build index bfaeea8..9782b7f 100755 --- a/build +++ b/build @@ -727,14 +727,13 @@ if [ "$RELEASE_CHANNEL" = "stable" ]; then echo "" echo "=== Release commit + tag ===" - # Stage the artifacts that are part of the release. mdedit's dist - # file is the only force-tracked dist artifact today; the others - # are gitignored and intentionally not committed. + # Stage the artifacts that are part of the release. dist/ is + # gitignored everywhere — none of the tools' dist/.html files + # are tracked. The release commit only carries the bake-in artifacts + # that the binary needs at //go:embed time + the embedded form + # template. git -C "$SCRIPT_DIR" add "$EMBED_DIR/" \ "$SCRIPT_DIR/zddc/internal/handler/form.html" - if [ -f "$SCRIPT_DIR/mdedit/dist/mdedit.html" ]; then - git -C "$SCRIPT_DIR" add -f "$SCRIPT_DIR/mdedit/dist/mdedit.html" - fi if ! git -C "$SCRIPT_DIR" diff --cached --quiet; then git -C "$SCRIPT_DIR" commit -m "release: v${RELEASE_VERSION} lockstep" diff --git a/mdedit/dist/mdedit.html b/mdedit/dist/mdedit.html deleted file mode 100644 index c5d58a9..0000000 --- a/mdedit/dist/mdedit.html +++ /dev/null @@ -1,6236 +0,0 @@ - - - - - - ZDDC Markdown - - - - - - - -
-
-
- -
- ZDDC Markdown - v0.0.16-beta · 2026-05-04 · 8df0def -
- - -
-
- - -
-
- -
-
- - -
- -
- - - -
-
-
- -
-
- - 0 folders - 0 files - 0 unsaved -
- -
- - - - - - -
- - - -