oficina / docs Public

Preserve private dependency fetching in archived releases

Co-Authored-By: Codex <noreply@openai.com>
Paul Campbell pushed by paul@keymail.dev 65019dbc44001d1dc759e8c25c5513ec9562062b parent 5ba5485
3 files changed, +4 −3
  • fixtures/editor-entry.js +2 −2
  • internal/docs/views/show.html +1 −1
  • scripts/build-release.sh +1 −0

CI passed — run details

diff --git a/fixtures/editor-entry.js b/fixtures/editor-entry.js
index e82cf09..81ffc9b 100644
--- a/fixtures/editor-entry.js
+++ b/fixtures/editor-entry.js
@@ -205,7 +205,7 @@ function insertHardBreak(state, dispatch) {
//
// Nothing shows a "saving" indicator during an ordinary wait; only a
// failure does, via the save queue's own status (see save-queue.mjs
-// and views/show.html's [docs-save-status]). So this delay stays
+// and views/show.html's [estilo-save-status]). So this delay stays
// invisible exactly when saving is going fine, which is the case that
// matters for feel.
const DEBOUNCE_MS = 250
@@ -766,7 +766,7 @@ export async function mountEditor(el) {
applyServerLog(ydoc, bytes)
},
onError: (err) => {
- // Deliberately not updateIndicator('failed'): [docs-save-status]
+ // Deliberately not updateIndicator('failed'): [estilo-save-status]
// means "your edit did not save", and that is still false —
// POST is a separate path and is unaffected by a dead stream.
// What is lost is freshness, which heals on the next activity.
diff --git a/internal/docs/views/show.html b/internal/docs/views/show.html
index 1689cf7..bebda31 100644
--- a/internal/docs/views/show.html
+++ b/internal/docs/views/show.html
@@ -1347,7 +1347,7 @@
{{/* The formatting bar (fixtures/toolbar.mjs). Rendered server-side,
with every label resolved from the catalog (render.go's
docs.editor.toolbar.*) — the bundle carries no copy of its own,
- the same rule [docs-save-status] below already follows.
+ the same rule [estilo-save-status] below already follows.
It is rendered even for a reader with no JavaScript, where it
does nothing at all. That is a deliberate choice and the weaker
diff --git a/scripts/build-release.sh b/scripts/build-release.sh
index 36b33aa..1869b7e 100755
--- a/scripts/build-release.sh
+++ b/scripts/build-release.sh
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
+export GOPRIVATE="${GOPRIVATE:+$GOPRIVATE,}amadan.net/oficina/estilo.git"
test "$#" -ge 1
test "$#" -le 2