Release v2.13.0: Protect /quant/audio in rsync, auto-provision espeak-ng on VPS in sync-vps-repos.sh, add .wav to Caddyfile, and verify Fedora 41 RPM packaging in push-all-to-git-libre-audio.sh
This commit is contained in:
1 parent
6af5d32b15
commit
6624209f2b
3 files changed
+14
-4
No files matched your search
@@ -179,6 +179,7 @@ for entry in "${REPOS[@]}"; do
|
||||
run_checked "rsync ${repo}" ${LIVE_SUDO} rsync -a --delete \
|
||||
--filter='P *.gz' \
|
||||
--filter='P *.br' \
|
||||
--filter='P site/quant/audio/***' \
|
||||
--exclude='.git' \
|
||||
--exclude='completed-plans-archive.tar.gz' \
|
||||
--exclude='inactive-plans-archive.tar.gz' \
|
||||
@@ -200,6 +201,15 @@ ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn"
|
||||
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant"
|
||||
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate"
|
||||
echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategy 1A, 0 audio files in Git)..."
|
||||
if [[ -z "$(type -P espeak-ng || true)" ]] && [[ -z "$(type -P espeak || true)" ]] && [[ "${DO_CADDY}" -eq 1 ]]; then
|
||||
if [[ -n "$(type -P dnf || true)" ]]; then
|
||||
echo " -> Installing espeak-ng via dnf for natural spoken English tour narration..."
|
||||
${SUDO} dnf install -y -q espeak-ng || true
|
||||
elif [[ -n "$(type -P apt-get || true)" ]]; then
|
||||
echo " -> Installing espeak-ng via apt-get for natural spoken English tour narration..."
|
||||
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq espeak-ng || true
|
||||
fi
|
||||
fi
|
||||
run_checked "hs-quant-voice-build" ${LIVE_SUDO} env PYTHONPATH="${REPOS_ROOT}/hyperstitionstudio-core/src" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.quant_voice \
|
||||
--workspace-root "${REPOS_ROOT}" \
|
||||
--out-dir "${LIVE_REPOS}/hyperstitionstudio-core/site/quant/audio"
|
||||
|
||||
Reference in new issue
Block a user